]> code.citadel.org Git - citadel.git/blobdiff - citadel/citserver.c
* The scheduler can now "wake up" a session to deliver async messages.
[citadel.git] / citadel / citserver.c
index 8f5fd57221a21d00245d5b59571bfe353cf6bdfe..9ef8208538f39b4c283a3ae5ca23de3a2028f154 100644 (file)
@@ -1319,3 +1319,11 @@ void do_command_loop(void) {
        /* Run any after-each-command routines registered by modules */
        PerformSessionHooks(EVT_CMD);
 }
+
+
+/*
+ * This loop performs all asynchronous functions.
+ */
+void do_async_loop(void) {
+       PerformSessionHooks(EVT_ASYNC);
+}