diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-02-13 21:51:10 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-02-13 21:51:10 +0400 |
commit | a5b48a05a94d178c342bbad69a330addb518d148 (patch) | |
tree | ee7ab452cd4a98fdb7503e78cc52a3d4f66dd27e /src/controller.c | |
parent | 0d64c808b7310b6e233ec570649fbb281a3f2b13 (diff) | |
download | rspamd-a5b48a05a94d178c342bbad69a330addb518d148.tar.gz rspamd-a5b48a05a94d178c342bbad69a330addb518d148.zip |
* More things to be thread-safe:
- pool allocator is now thread-safe
- lua subsystem now holds lock to avoid lua stack corruption
- events subsystem now using conditional variables to wait for async_threads
- insert_result is thread-safe now
Diffstat (limited to 'src/controller.c')
-rw-r--r-- | src/controller.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/controller.c b/src/controller.c index b9ec3677c..ddac27930 100644 --- a/src/controller.c +++ b/src/controller.c @@ -846,9 +846,9 @@ process_normal_command (const gchar *line) } /* - * Called if all filters are processed + * Called if all filters are processed, non-threaded and simple version */ -static void +static gboolean fin_learn_task (void *arg) { struct worker_task *task = (struct worker_task *) arg; @@ -870,6 +870,8 @@ fin_learn_task (void *arg) rspamd_dispatcher_restore (task->dispatcher); } } + + return TRUE; } /* |