aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTsT <tst2005@gmail.com>2016-09-10 01:12:28 +0200
committerGitHub <noreply@github.com>2016-09-10 01:12:28 +0200
commit230cbbcc9bd4615eb7a2d8f39255b57059f8d501 (patch)
tree0a0ae570067b5291af96950d7e73a8cc08bb2dc4
parentd5efef63150935b136635767da75d48d18f8d1a7 (diff)
downloadlua-llthreads2-230cbbcc9bd4615eb7a2d8f39255b57059f8d501.tar.gz
lua-llthreads2-230cbbcc9bd4615eb7a2d8f39255b57059f8d501.tar.bz2
lua-llthreads2-230cbbcc9bd4615eb7a2d8f39255b57059f8d501.zip
typo fix
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 2ec4cb2..6a514df 100644
--- a/README.md
+++ b/README.md
@@ -60,7 +60,7 @@ thread:start(false, false)
60 60
61-- We can call join. 61-- We can call join.
62-- Because of Lua state destroys in child thread we can not get 62-- Because of Lua state destroys in child thread we can not get
63-- returned Lua vaules so we just returns `true`. 63-- returned Lua values so we just returns `true`.
64thread:join() 64thread:join()
65``` 65```
66 66
@@ -78,7 +78,7 @@ thread:start(true, true)
78 78
79-- We can call join. 79-- We can call join.
80-- Because of Lua state destroys in child thread we can not get 80-- Because of Lua state destroys in child thread we can not get
81-- returned Lua vaules so we just returns `true`. 81-- returned Lua values so we just returns `true`.
82thread:join() 82thread:join()
83``` 83```
84 84
@@ -111,7 +111,7 @@ local thread = require "llthreads2".new[[
111thread:start() 111thread:start()
112 112
113-- we can not use `thread:join(0)` because we can not call it twice 113-- we can not use `thread:join(0)` because we can not call it twice
114-- so all returned vaules will be lost 114-- so all returned values will be lost
115while thread:alive() do 115while thread:alive() do
116 -- do some work 116 -- do some work
117end 117end