diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-26 11:37:48 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-26 11:37:48 +0100 |
commit | b1575711e78b96cd8560d4bebcebcfa92e2d14a7 (patch) | |
tree | 9f4961a083214173d883a0825d5fccb6918372bc /src/libserver/task.h | |
parent | 9f4ebd97d0fbc2bffba13ec945de5e785b15b371 (diff) | |
download | rspamd-b1575711e78b96cd8560d4bebcebcfa92e2d14a7.tar.gz rspamd-b1575711e78b96cd8560d4bebcebcfa92e2d14a7.zip |
Remove threading support at all.
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r-- | src/libserver/task.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h index 606e4dcea..05a50ecdc 100644 --- a/src/libserver/task.h +++ b/src/libserver/task.h @@ -151,7 +151,6 @@ struct rspamd_task { struct rspamd_dns_resolver *resolver; /**< DNS resolver */ struct event_base *ev_base; /**< Event base */ - GThreadPool *classify_pool; /**< A pool of classify threads */ gpointer classify_data; /**< Opaque classifiers data */ struct { @@ -188,13 +187,11 @@ gboolean rspamd_task_fin (void *arg); * Process task from http message and write reply or call task->fin_handler * @param task task to process * @param msg incoming http message - * @param classify_pool classify pool (or NULL) * @param process_extra_filters whether to check pre and post filters * @return task has been successfully parsed and processed */ gboolean rspamd_task_process (struct rspamd_task *task, struct rspamd_http_message *msg, const gchar *start, gsize len, - GThreadPool *classify_pool, gboolean process_extra_filters); /** |