aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_runner.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-05 13:15:10 +1000
committerDavid Walter Seikel2012-02-05 13:15:10 +1000
commit184e5927bae42745232d59b6ba15b0052d2ec3a5 (patch)
treef9fbb2b710678d70555a27bbea287bf296b38f11 /LuaSL/src/LuaSL_runner.c
parentTurn on the script running stuff, clean out the now excess tests, then move t... (diff)
downloadSledjHamr-184e5927bae42745232d59b6ba15b0052d2ec3a5.zip
SledjHamr-184e5927bae42745232d59b6ba15b0052d2ec3a5.tar.gz
SledjHamr-184e5927bae42745232d59b6ba15b0052d2ec3a5.tar.bz2
SledjHamr-184e5927bae42745232d59b6ba15b0052d2ec3a5.tar.xz
Get them in the right order. lol
Diffstat (limited to 'LuaSL/src/LuaSL_runner.c')
-rw-r--r--LuaSL/src/LuaSL_runner.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/LuaSL/src/LuaSL_runner.c b/LuaSL/src/LuaSL_runner.c
index 411c437..8aa115c 100644
--- a/LuaSL/src/LuaSL_runner.c
+++ b/LuaSL/src/LuaSL_runner.c
@@ -132,12 +132,6 @@ void runnerSetup(gameGlobals *game)
132 PE("Error creating luaproc worker thread."); 132 PE("Error creating luaproc worker thread.");
133} 133}
134 134
135void runnerTearDown(gameGlobals *game)
136{
137// TODO - this is what hangs the system.
138 sched_join_workerthreads();
139}
140
141void runLuaFile(gameGlobals *game, const char *filename) 135void runLuaFile(gameGlobals *game, const char *filename)
142{ 136{
143 newProc(filename, TRUE); 137 newProc(filename, TRUE);
@@ -158,3 +152,9 @@ void runLuaFile(gameGlobals *game, const char *filename)
158 _edje_lua2_error(L, err); 152 _edje_lua2_error(L, err);
159*/ 153*/
160} 154}
155
156void runnerTearDown(gameGlobals *game)
157{
158// TODO - this is what hangs the system.
159 sched_join_workerthreads();
160}