diff options
author | cbdev <cb@cbcdn.com> | 2020-03-20 21:50:33 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2020-03-20 21:50:33 +0100 |
commit | 2d66d5cee9bf3ed5779f65d8a99b40ee5181bf30 (patch) | |
tree | 9fbf00807fd06a9a48871d05de26625e6c1fb9fd /backends/lua.h | |
parent | 9718e10c7f4151cea895f515c785c14e0021d967 (diff) | |
download | midimonster-2d66d5cee9bf3ed5779f65d8a99b40ee5181bf30.tar.gz midimonster-2d66d5cee9bf3ed5779f65d8a99b40ee5181bf30.tar.bz2 midimonster-2d66d5cee9bf3ed5779f65d8a99b40ee5181bf30.zip |
Implement Lua threading
Diffstat (limited to 'backends/lua.h')
-rw-r--r-- | backends/lua.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/backends/lua.h b/backends/lua.h index 743f978..d8e720a 100644 --- a/backends/lua.h +++ b/backends/lua.h @@ -39,3 +39,10 @@ typedef struct /*_lua_interval_callback*/ { lua_State* interpreter; int reference; } lua_timer; + +typedef struct /*_lua_coroutine*/ { + instance* instance; + lua_State* thread; + int reference; + uint64_t timeout; +} lua_thread; |