summaryrefslogtreecommitdiff
path: root/src/threading.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* version 3.5.1v3.5.1Benoit Germain2013-02-131-6/+12
| | | | | | | * new lanes.h header and API call luaopen_lanes_embedded() for embedders * "lanes.core" is an acceptable library in the generator libs argument * library "*" wildcard also opens lanes.core * tweaked code for Xbox 360 build
* minor internal changesBenoit Germain2012-09-131-0/+1
| | | | | | * implemented set_debug_threadname() for pthread builds where possible * refactored linda __tostring and __concat * linda metatable's __metatable is a string instead of a boolean
* code tweaks to enable building against win32-pthread on windows platforms.Benoit Germain2012-09-111-3/+9
| | | | not active by default, see threading.h.
* version 3.3.0Benoit Germain2012-09-101-0/+3
| | | | | | | | | | | | * lane.status can return "killed" if lane was forcefully killed with lanes:cancel() * lane:join(): return nil, "killed" if called on a killed lane. * lane[<n>]: produces [1] = nil, [2] = "killed" if the lane was killed * lane:join(): fixed an assertion in debug builds when joining a lane forcefully cancelled with lane:cancel( <x>, true). * indexing a lane with a string other than "join", "cancel" or "status" raises an error. * fixed configure() to correctly apply defaults when they are missing from the provided settings * added a shutdown_timeout to control the duration Lanes will wait for graceful termination of running lanes at application shutdown. Default is 0.25. Among other things, fixes issue #31.
* Merge pull request #17 from LuaDist/550dd55b0e571577a4ca6ccc880738f1268adb57benoit-germain2012-04-241-13/+6
|\ | | | | merge commits from steve
| * MinGW build now does not use MS runtimesteve donovan2011-03-161-13/+6
| |
* | * removed packagepath and packagecpath options, replaced by a package table, ↵Benoit Germain2011-11-141-16/+39
|/ | | | | | | whose fields path, cpath, loaders, preload are transfered * code cleanup to facilitate transition between WIN32 and PTHREAD impleentations * tentative fix for desinit crashes when free running lanes are killed at process shutdown
* Import to gitPeter Drahoš2010-10-011-0/+196