diff options
-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 |