From aedcdfe854c351c7d441487a30d931acabc1ce82 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 5 May 2021 11:37:43 +0100 Subject: [Minor] Allow forced termination of the suspended threads --- src/lua/lua_thread_pool.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lua/lua_thread_pool.h') diff --git a/src/lua/lua_thread_pool.h b/src/lua/lua_thread_pool.h index 66c8b991c..2845d2f67 100644 --- a/src/lua/lua_thread_pool.h +++ b/src/lua/lua_thread_pool.h @@ -192,9 +192,9 @@ lua_thread_resume_full (struct thread_entry *thread_entry, void lua_thread_pool_terminate_entry_full (struct lua_thread_pool *pool, struct thread_entry *thread_entry, - const gchar *loc); + const gchar *loc, bool enforce); #define lua_thread_pool_terminate_entry(pool, thread_entry) \ - lua_thread_pool_terminate_entry_full (pool, thread_entry, G_STRLOC) + lua_thread_pool_terminate_entry_full (pool, thread_entry, G_STRLOC, false) #ifdef __cplusplus } -- cgit v1.2.3