aboutsummaryrefslogtreecommitdiff
path: root/src/llthread.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Back to dev version [ci skip]HEADmasterAlexey Melnichuk2021-01-091-2/+2
|
* Release 0.1.6v0.1.6Alexey Melnichuk2021-01-091-1/+1
|
* avoid NULL as parameter to lua_concat in llthread_logosch2018-09-041-2/+3
|
* avoid NULL as parameter to fputs()osch2018-09-041-1/+2
|
* interrupted error message now contains llthreads module name as prefix andosch2018-08-271-2/+12
| | | | is also available in the public api
* new method thread:interrupt()osch2018-08-211-0/+27
|
* Release 0.1.5v0.1.5Alexey Melnichuk2018-07-011-1/+1
|
* Fix. Correctly handle error from `_beginthreadex` (close #12)Alexey Melnichuk2017-03-211-0/+3
| | | | | | `_beginthread` returns -1 in case of error, but `_beginthreadex` returns 0. https://msdn.microsoft.com/en-us/library/kdzttdcb.aspx
* Fix. Warning about undefined `pthread_kill` on some systems. (Close #8 #10)Alexey Melnichuk2017-02-021-0/+3
|
* Back to dev versionAlexey Melnichuk2016-09-091-2/+2
|
* Release 0.1.4v0.1.4Alexey Melnichuk2016-09-091-1/+1
|
* Fix. Version on Lua 5.3Alexey Melnichuk2015-01-191-8/+8
|
* Prepare release and bump version numbers to 0.1.3v0.1.3Alexey Melnichuk2015-01-131-1/+1
|
* Add. rockspecs for 0.1.2v0.1.2Alexey Melnichuk2014-06-261-1/+1
|
* Add. started/detached/joinable methods to thread object.Alexey Melnichuk2014-06-251-2/+23
|
* 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-301-266/+72
| | | | 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-261-12/+12
|
* Fix. compile pthread version.moteus2013-12-261-4/+6
|
* Fix. include some std libraries.moteus2013-12-261-0/+5
|
* First commit.moteus2013-12-261-0/+669