From 5edea3a6a48ac341479bd0c5c6d3d51a741d95f2 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 22 Jun 2017 11:34:19 -0400 Subject: [PATCH] Typos in readme and example file --- README.md | 4 ++-- lanesintergratetest.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9ab5328..dc2fd2f 100644 --- a/README.md +++ b/README.md @@ -21,12 +21,12 @@ multi:newSystemThread("test",function() -- spawns a thread in another lua proces print("Waiting for variable: NumOfCores") print("Got it: ",lthread.waitFor("NumOfCores")) lthread.hold(function() - return GLOBAL["AnotherTest"] -- note this would hold the entire lthread. Spawn a coroutine thread using multi:newThread() or multi:newThreaded... + return GLOBAL["AnotherTest"] -- note this would hold the entire systemthread. Spawn a coroutine thread using multi:newThread() or multi:newThreaded... end) print("Holding works!") multi:newThread("tests",function() thread.hold(function() - return GLOBAL["FinalTest"] -- note this will hold the entire lthread. As seen with the TLoop constantly going! + return GLOBAL["FinalTest"] -- note this will not hold the entire systemthread. As seen with the TLoop constantly going! end) print("Final test works!") os.exit() diff --git a/lanesintergratetest.lua b/lanesintergratetest.lua index b79f2e9..b70bd70 100644 --- a/lanesintergratetest.lua +++ b/lanesintergratetest.lua @@ -17,12 +17,12 @@ multi:newSystemThread("test",function() -- spawns a thread in another lua proces print("Waiting for variable: NumOfCores") print("Got it: ",lthread.waitFor("NumOfCores")) lthread.hold(function() - return GLOBAL["AnotherTest"] -- note this would hold the entire lthread. Spawn a coroutine thread using multi:newThread() or multi:newThreaded... + return GLOBAL["AnotherTest"] -- note this would hold the entire systemthread. Spawn a coroutine thread using multi:newThread() or multi:newThreaded... end) print("Holding works!") multi:newThread("tests",function() thread.hold(function() - return GLOBAL["FinalTest"] -- note this will hold the entire lthread. As seen with the TLoop constantly going! + return GLOBAL["FinalTest"] -- note this will not hold the entire systemthread. As seen with the TLoop constantly going! end) print("Final test works!") os.exit()