summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add. `thread:alive()` method.Alexey Melnichuk2014-02-041-0/+69
|
* Add. rockspecs for version 0.1.0v0.1.0Alexey Melnichuk2014-01-091-1/+1
|
* Add. library versionAlexey Melnichuk2014-01-091-0/+45
|
* Change. Implement 2 rockspecs llthreads2 and llthreads2-compat.moteus2013-12-311-9/+19
|
* Fix. typomoteus2013-12-311-6/+7
|
* Code refactoring.moteus2013-12-301-24/+14
|
* Fix. call `join` on gc for attached not joinable thread.moteus2013-12-303-266/+298
| | | | Code refactoring.
* Change. does not register llthread loader.moteus2013-12-301-9/+13
| | | | | This is because of better load dynamic library from child thread to prevent unload dynamic library if parent Lua state closes.
* Add. pass cfunctions to child thread.moteus2013-12-271-0/+5
|
* Fix. detach joined thread.moteus2013-12-271-8/+30
| | | | Fix. try use child Lua state in join for detached thread.
* Fix. child struct for start(true, true) should be destroyed by child thread.moteus2013-12-271-61/+78
| | | | | Fix. thread:join(0) in pthread should call pthread_join to free pthread_t struct. Code refactoring.
* Add. logger testmoteus2013-12-271-18/+16
|
* Fix. Open libraries with luaL_openlibs.moteus2013-12-261-10/+12
|
* Fix. register bit32 library on Lua5.2moteus2013-12-261-9/+7
|
* Fix. remove magic numbers.moteus2013-12-261-5/+7
|
* Fix. Register LuaJIT built-in libraries.moteus2013-12-261-1/+17
|
* Add. `joinable` parameter to `start` method which control in which thread ↵moteus2013-12-261-27/+68
| | | | child Lua VM will be destroyed.
* Add. set_logger function allow logging errors (crash Lua VM) in current ↵moteus2013-12-261-9/+34
| | | | | | | | | | | | llthread's threads. ``` Lua local llthreads = require "llthreads" local LOG = require"log".new( require "log.writer.net.zmq".new("tcp://127.0.0.1:5555") ) llthread.set_logger(function(msg) LOG.error(msg) end) ```
* Add. timeout parameter to thread:join() methodmoteus2013-12-261-7/+26
|
* Fix. load library on Lua 5.2moteus2013-12-263-12/+22
|
* Fix. compile pthread version.moteus2013-12-261-4/+6
|
* Fix. include some std libraries.moteus2013-12-261-0/+5
|
* First commit.moteus2013-12-263-0/+832