aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/testLua/luaprocTest0.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-25 02:29:35 +1000
committerDavid Walter Seikel2012-01-25 02:29:35 +1000
commit3236320311f15640083c5bf420bcdeab725ff242 (patch)
tree7f8abdafad10884fbdedf919e49c8b79c1f2287b /LuaSL/testLua/luaprocTest0.lua
parentQuick and dirty testing of luaJIT+luaproc from LuaSL. (diff)
downloadSledjHamr-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 'LuaSL/testLua/luaprocTest0.lua')
-rw-r--r--LuaSL/testLua/luaprocTest0.lua7
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()
33luaproc.newproc( [=[ 33luaproc.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
40print("About to luaproc.exit()!");
39luaproc.exit() 41luaproc.exit()
42print("Should have exited after the luaproc.exit()!");
43
44