diff options
author | David Walter Seikel | 2012-01-25 02:29:35 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-25 02:29:35 +1000 |
commit | 3236320311f15640083c5bf420bcdeab725ff242 (patch) | |
tree | 7f8abdafad10884fbdedf919e49c8b79c1f2287b /LuaSL/testLua/luaprocTest0.lua | |
parent | Quick and dirty testing of luaJIT+luaproc from LuaSL. (diff) | |
download | SledjHamr-3236320311f15640083c5bf420bcdeab725ff242.zip SledjHamr-3236320311f15640083c5bf420bcdeab725ff242.tar.gz SledjHamr-3236320311f15640083c5bf420bcdeab725ff242.tar.bz2 SledjHamr-3236320311f15640083c5bf420bcdeab725ff242.tar.xz |
Hack together LuaSL, LuaJIT, and luaproc. It's frankenstein right now. lol
Diffstat (limited to '')
-rw-r--r-- | LuaSL/testLua/luaprocTest0.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/LuaSL/testLua/luaprocTest0.lua b/LuaSL/testLua/luaprocTest0.lua index 5868d6f..94a1d20 100644 --- a/LuaSL/testLua/luaprocTest0.lua +++ b/LuaSL/testLua/luaprocTest0.lua | |||
@@ -33,7 +33,12 @@ luaproc.createworker() | |||
33 | luaproc.newproc( [=[ | 33 | luaproc.newproc( [=[ |
34 | luaproc.newchannel( "testchannel" ) | 34 | luaproc.newchannel( "testchannel" ) |
35 | luaproc.newproc( "luaproc.send( 'testchannel', 'luaproc is working fine!' )" ) | 35 | luaproc.newproc( "luaproc.send( 'testchannel', 'luaproc is working fine!' )" ) |
36 | luaproc.newproc( "print( luaproc.receive( 'testchannel' ))" ) | 36 | luaproc.newproc( "print(luaproc.receive( 'testchannel'))" ) |
37 | print("End of parent proc") | ||
37 | ]=] ) | 38 | ]=] ) |
38 | 39 | ||
40 | print("About to luaproc.exit()!"); | ||
39 | luaproc.exit() | 41 | luaproc.exit() |
42 | print("Should have exited after the luaproc.exit()!"); | ||
43 | |||
44 | |||