aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_threads.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-25 09:43:05 +1000
committerDavid Walter Seikel2012-02-25 09:43:05 +1000
commitbd82e0ebd6db7ab7a9577c9ec6d9a9a9c2d73db8 (patch)
tree47fb8b023eceb67bb94751d307d7486ced3fed0b /LuaSL/src/LuaSL_threads.h
parentPartial rewrite of the luaproc messages. Still not fixed yet. (diff)
downloadSledjHamr-bd82e0ebd6db7ab7a9577c9ec6d9a9a9c2d73db8.zip
SledjHamr-bd82e0ebd6db7ab7a9577c9ec6d9a9a9c2d73db8.tar.gz
SledjHamr-bd82e0ebd6db7ab7a9577c9ec6d9a9a9c2d73db8.tar.bz2
SledjHamr-bd82e0ebd6db7ab7a9577c9ec6d9a9a9c2d73db8.tar.xz
Beat the script messsage passing into shape, mostly by knocking large chunks off. lol
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_threads.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/LuaSL/src/LuaSL_threads.h b/LuaSL/src/LuaSL_threads.h
index b7f6449..78c6639 100644
--- a/LuaSL/src/LuaSL_threads.h
+++ b/LuaSL/src/LuaSL_threads.h
@@ -43,17 +43,10 @@ THE SOFTWARE.
43#define LUAPROC_SCHED_INIT_ERROR -7 43#define LUAPROC_SCHED_INIT_ERROR -7
44 44
45 45
46/* message channel pointer type */
47typedef struct stchannel *channel;
48
49
50void luaprocInit(void); 46void luaprocInit(void);
51
52/* create a new worker pthread */
53int sched_create_worker(void); 47int sched_create_worker(void);
54
55void newProc(const char *code, int file, script *lp); 48void newProc(const char *code, int file, script *lp);
56const char *sendToChannel(gameGlobals *game, const char *chname, const char *message, script **dst, channel *chn); 49const char *sendToChannel(gameGlobals *game, const char *SID, const char *message);
57 50
58/* join all worker threads and exit */ 51/* join all worker threads and exit */
59void sched_join_workerthreads(void); 52void sched_join_workerthreads(void);