diff options
author | Alexey Melnichuk <mimir@newmail.ru> | 2014-06-18 15:33:49 +0500 |
---|---|---|
committer | Alexey Melnichuk <mimir@newmail.ru> | 2014-06-18 15:33:49 +0500 |
commit | 9268a7555226599d9e713840b9361775a3f249ef (patch) | |
tree | 9775b2dc23af26162ccd1ec3c87f8ef8f359de63 | |
parent | ed9ed9a1c794c0d49f83cb00a557ae6085bf47e4 (diff) | |
download | lua-llthreads2-9268a7555226599d9e713840b9361775a3f249ef.tar.gz lua-llthreads2-9268a7555226599d9e713840b9361775a3f249ef.tar.bz2 lua-llthreads2-9268a7555226599d9e713840b9361775a3f249ef.zip |
Update README.md
-rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -20,6 +20,15 @@ This is full dropin replacement for [llthreads](https://github.com/Neopallium/lu | |||
20 | * thread:start() has additional parameter which control in which thread child Lua VM will be destroyed | 20 | * thread:start() has additional parameter which control in which thread child Lua VM will be destroyed |
21 | * allow pass cfunctions to child thread (e.g. to initialize Lua state) | 21 | * allow pass cfunctions to child thread (e.g. to initialize Lua state) |
22 | 22 | ||
23 | ##Thread start arguments | ||
24 | | default | `detached` | `joinable` | join returns | child state closes by | gc calls | detach on | | ||
25 | |:-------:|:--------:|:--------:|:------------:|:------------------:|:--------:|:---------:| | ||
26 | | | false | falas | `true` | child | join | `<NEVER>` | | ||
27 | | * | false | true | Lua values | parent | join | `<NEVER>` | | ||
28 | | * | true | false | raise error | child | `<NONE>` | start | | ||
29 | | | true | true | `true` | child | detach | gc | | ||
30 | |||
31 | |||
23 | ##Usage | 32 | ##Usage |
24 | 33 | ||
25 | ### Use custom logger | 34 | ### Use custom logger |