1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-27 05:16:38 +02:00

- Added EventMarkDel which marks an event for deletion for the (next) DoEvents() call.

- Fixed /rehash stall caused by delayed unloading of the scan module (deadlock).
This commit is contained in:
Bram Matthys
2003-02-24 03:04:23 +00:00
parent 99ee86c9c9
commit 60b77d4485
4 changed files with 18 additions and 4 deletions
+3
View File
@@ -195,10 +195,13 @@ struct _eventinfo {
};
/* Huh? Why are those not marked as extern?? -- Syzop */
#define EventAdd(name, every, howmany, event, data) EventAddEx(NULL, name, every, howmany, event, data)
Event *EventAddEx(Module *, char *name, long every, long howmany,
vFP event, void *data);
Event *EventDel(Event *event);
Event *EventMarkDel(Event *event);
Event *EventFind(char *name);
int EventMod(Event *event, EventInfo *mods);
void DoEvents(void);