diff options
Diffstat (limited to 'LuaSL/testLua/luaprocTest0.lua')
-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 | |||