aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* code updated to build against Lua 5.1 and Lua 5.2v3.1.6Benoit Germain2012-08-146-28/+60
|
* * removed the search for MSVCR80.DLL when building for MinGW32 since it no ↵Benoit Germain2012-08-141-8/+1
| | | | longer seems to be necessary
* Rockspec for version 3.1.6Benoit Germain2012-08-141-0/+55
|
* Proper crash fix, part 2benoit-germain2012-08-101-3/+3
|
* Good crash fix this time, part 1benoit-germain2012-08-101-1/+1
|
* Yet another shutdown crash fixbenoit-germain2012-08-101-0/+4
| | | | Perform keeper desinit in two stages, in case the keeper state being closed contains a reference to a linda bound to a previously desinitialized keeper, causing it to be destroyed after its keeper state. (occurs only for applications using more than one keeper).
* fix possible crash at application shutdown when a race condition causes ↵Benoit Germain2012-08-105-21/+24
| | | | linda objects to be collected after the keeper states are cleaned up.
* Update docs/index.htmlbenoit-germain2012-08-061-1/+1
|
* Update CHANGESbenoit-germain2012-08-061-1/+3
|
* lanes.linda() accepts an optional name argumentbenoit-germain2012-08-061-6/+33
|
* rockspec for v3.1.5Benoit Germain2012-07-101-0/+55
|
* one more step toward 5.2 compatibilityv3.1.5Benoit Germain2012-07-1010-287/+58
| | | | | | * lua51-lanes renamed lanes.core * keeper state microcode is no longer embedded inside lanes.core, but located and loaded with package.loaders[2] * changed rockspec build type from "make" to "builtin"
* expose lua51-lanes.now_secs() as lanes.now_secs()Benoit Germain2012-07-081-0/+1
| | | | (resolves issue #29)
* * when a transfered function is not found in source, guess its name to help ↵v3.1.4Benoit Germain2012-06-276-112/+146
| | | | | | the user find out what's wrong * new function lanes.nameof()
* * discard old rockspecsBenoit Germain2012-06-278-751/+0
|
* * 3.1.4 rockspecBenoit Germain2012-06-271-0/+91
|
* * fixed 'require' test scriptBenoit Germain2012-06-271-2/+2
|
* fix crash at application exit when encountering a blocked lane on which ↵benoit-germain2012-06-251-1/+1
| | | | lane:cancel() has been called. (issue #28).
* more explicit error code when THREAD_WAIT fails.benoit-germain2012-06-251-1/+1
|
* fix issue #25Benoit Germain2012-06-244-35/+47
| | | | | | * lanes.timer() accepts a first_secs=nil to stop a timer * timer lane catches errors and prints them * fixed some typos in manual
* fix abusive internal error message displayed when the timer lane decides it ↵benoit-germain2012-06-201-2/+2
| | | | has to wake up in 0ms or when timer lane is cancelled.
* expose error sentinel lanes.cancel_errorbenoit-germain2012-06-191-0/+1
|
* * 3.1.3 rockspecv3.1.3Benoit Germain2012-06-121-0/+91
|
* * linda:receive() batched mode now accepts a max_count optional argumentBenoit Germain2012-06-124-32/+57
|
* * 3.1.2 rockspecv3.1.2Benoit Germain2012-06-051-0/+91
|
* * fixed thread_cancel() not working when called without argumentBenoit Germain2012-06-053-58/+130
| | | | * new lane-global function set_error_reporting() to enable more data detailed data provided by lane_error()
* bumping version number to 3.1.1v3.1.1Benoit Germain2012-05-083-1/+10
|
* 3.1.1 rockspecBenoit Germain2012-05-081-0/+91
|
* Improve LuaJIT compatibility, part #2: timer lane generator uses "*" library ↵benoit-germain2012-04-261-1/+1
| | | | list
* Improve LuaJIT compatibility, part #1: "*" library list is loaded through ↵benoit-germain2012-04-261-2/+10
| | | | luaL_openlibs()
* Fix issue #15 (lanes fails to build on Linux x86_64 (gcc 4.6.1) size_t vs ↵benoit-germain2012-04-241-4/+1
| | | | int size)
* Merge pull request #17 from LuaDist/550dd55b0e571577a4ca6ccc880738f1268adb57benoit-germain2012-04-243-45/+7
|\ | | | | merge commits from steve
| * assert() throws because result is too large to be an integersteve donovan2011-03-161-1/+1
| |
| * MinGW build now does not use MS runtimesteve donovan2011-03-162-44/+6
| |
* | * rockspec for v3.1.0v3.1.0Benoit Germain2012-02-181-0/+91
| |
* | * changed lanes.configure signature to receive a table instead of individual ↵Benoit Germain2012-02-1831-158/+199
| | | | | | | | | | | | parameters * added support for an on_state_create callback called to load custom functions in a state in addition to the base libraries
* | Merge remote-tracking branch 'origin/master'v3.0.0Benoit Germain2012-01-092-2/+4
|\ \
| * | crashfix: WIN32 builds shouldn't THREAD_WAIT on a THREAD_KILL'ed thread, ↵benoit-germain2011-11-151-1/+3
| | | | | | | | | | | | (but pthread builds must still do it to make sure the thread is no longger running)
| * | bugfix: restore ABOUT info where it belongs, in the lanes module table, ↵benoit-germain2011-11-151-1/+1
| | | | | | | | | | | | instead of the global scope.
* | | rockspec for version 3.0.0Benoit Germain2012-01-091-0/+97
|/ /
* | * removed packagepath and packagecpath options, replaced by a package table, ↵Benoit Germain2011-11-146-147/+151
| | | | | | | | | | | | | | 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
* | * fix inconsistency in rockspecBenoit Germain2011-11-131-1/+1
| |
* | fix link on Ubuntu 11.10Benoit Germain2011-11-091-1/+1
| |
* | some more compilation warning fixesBenoit Germain2011-11-093-9/+11
| |
* | update rockspecv3.0-betabenoit-germain2011-11-071-1/+1
| |
* | Merge remote-tracking branch 'origin/master'Benoit Germain2011-11-071-0/+2
|\ \
| * | Cause `lanes.configure()` to return the module table to enable the `require ↵benoit-germain2011-11-071-0/+2
| | | | | | | | | | | | "lanes".configure()` idiom.
* | | * fix all compilation warnings raised by -WextraBenoit Germain2011-11-073-19/+23
|/ / | | | | | | * fix a multithreading issue at desinit causing invalid memory accesses (to be verified)
* | * process exit change: close everything at GC when main state closes, not ↵Benoit Germain2011-11-0536-336/+1092
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when atexit() handlers are processed * Lua 5.2-style module: * module() is no longer used to implement lanes.lua * a global "lanes" variable is no longer created when the module is required * the Lanes module table is returned instead * Lanes must be initialized before used: * the first occurence of 'require "lanes"' produces a minimal interface that only contains a configure() function * the remainder of the interface is made available once this function is called * subsequent calls to configure() do nothing * configure() controls the number of keeper states and the startup of timers * LuaJIT 2 compatibility * non-Lua functions are no longer copied by creating a C closure from a C pointer, but through 2-way lookup tables * this means that if a lane function body pulls non-Lua functions, the lane generator description must contain the list of libraries and modules that exports them * introduces a change in configuration .globals management: contents are copied *after* std libs are loaded * new .required configuration entry to list modules that must be require()'ed before lane body is transferred * lane:cancel() wakes up waiting lindas like what is done at lane shutdown
* | 3.0-beta rockspecBenoit Germain2011-11-051-0/+97
| |