aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorMikhail Galanin <mgalanin@mimecast.com>2018-08-24 09:13:24 +0100
committerMikhail Galanin <mgalanin@mimecast.com>2018-08-24 09:13:24 +0100
commit6d12ba86f224b77a5047643e7c304fef1d763b26 (patch)
tree2a349f5107a18d2d0f8d8d5a2bfece1c93e6c83a /src/lua/lua_common.h
parented9d4ec8c8b62664f0157ccb6dceaba264e1891b (diff)
downloadrspamd-6d12ba86f224b77a5047643e7c304fef1d763b26.tar.gz
rspamd-6d12ba86f224b77a5047643e7c304fef1d763b26.zip
[Minor] Split lua_thread_pool_get on lua_thread_pool_get_for_task/lua_thread_pool_get_for_config
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index b84701bc1..3f643e6e8 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -417,25 +417,6 @@ void rspamd_lua_add_ref_dtor (lua_State *L, rspamd_mempool_t *pool,
gboolean rspamd_lua_require_function (lua_State *L, const gchar *modname,
const gchar *funcname);
-struct thread_entry;
-/**
- * Yields thread. should be only called in return statement
- * @param thread_entry
- * @param nresults
- * @return
- */
-gint
-lua_yield_thread (struct thread_entry *thread_entry, gint nresults);
-
-/**
- * Resumes suspended by lua_yield_thread () thread
- * @param task
- * @param thread_entry
- * @param narg
- */
-void
-lua_resume_thread (struct thread_entry *thread_entry, gint narg);
-
/* Paths defs */
#define RSPAMD_CONFDIR_INDEX "CONFDIR"
#define RSPAMD_RUNDIR_INDEX "RUNDIR"