diff options
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" |