aboutsummaryrefslogtreecommitdiff
path: root/src/threading.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/threading.h')
-rw-r--r--src/threading.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/threading.h b/src/threading.h
index b0a3db0..f4f1ada 100644
--- a/src/threading.h
+++ b/src/threading.h
@@ -35,6 +35,9 @@ typedef unsigned int uint_t;
35#include <time.h> 35#include <time.h>
36 36
37/* Note: ERROR is a defined entity on Win32 37/* Note: ERROR is a defined entity on Win32
38 PENDING: The Lua VM hasn't done anything yet.
39 RUNNING, WAITING: Thread is inside the Lua VM. If the thread is forcefully stopped, we can't lua_close() the Lua State.
40 DONE, ERROR_ST, CANCELLED: Thread execution is outside the Lua VM. It can be lua_close()d.
38*/ 41*/
39enum e_status { PENDING, RUNNING, WAITING, DONE, ERROR_ST, CANCELLED }; 42enum e_status { PENDING, RUNNING, WAITING, DONE, ERROR_ST, CANCELLED };
40 43