From 9268a7555226599d9e713840b9361775a3f249ef Mon Sep 17 00:00:00 2001 From: Alexey Melnichuk Date: Wed, 18 Jun 2014 15:33:49 +0500 Subject: Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 22f2025..a3308c7 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,15 @@ This is full dropin replacement for [llthreads](https://github.com/Neopallium/lu * thread:start() has additional parameter which control in which thread child Lua VM will be destroyed * allow pass cfunctions to child thread (e.g. to initialize Lua state) +##Thread start arguments +| default | `detached` | `joinable` | join returns | child state closes by | gc calls | detach on | +|:-------:|:--------:|:--------:|:------------:|:------------------:|:--------:|:---------:| +| | false | falas | `true` | child | join | `` | +| * | false | true | Lua values | parent | join | `` | +| * | true | false | raise error | child | `` | start | +| | true | true | `true` | child | detach | gc | + + ##Usage ### Use custom logger -- cgit v1.2.3-55-g6feb