diff options
author | Mikhail Galanin <mgalanin@mimecast.com> | 2018-08-24 09:13:24 +0100 |
---|---|---|
committer | Mikhail Galanin <mgalanin@mimecast.com> | 2018-08-24 09:13:24 +0100 |
commit | 6d12ba86f224b77a5047643e7c304fef1d763b26 (patch) | |
tree | 2a349f5107a18d2d0f8d8d5a2bfece1c93e6c83a /src/lua/lua_common.h | |
parent | ed9d4ec8c8b62664f0157ccb6dceaba264e1891b (diff) | |
download | rspamd-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.h | 19 |
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" |