Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * 3.1.4 rockspec | Benoit Germain | 2012-06-27 | 1 | -0/+91 |
| | |||||
* | * fixed 'require' test script | Benoit Germain | 2012-06-27 | 1 | -2/+2 |
| | |||||
* | fix crash at application exit when encountering a blocked lane on which ↵ | benoit-germain | 2012-06-25 | 1 | -1/+1 |
| | | | | lane:cancel() has been called. (issue #28). | ||||
* | more explicit error code when THREAD_WAIT fails. | benoit-germain | 2012-06-25 | 1 | -1/+1 |
| | |||||
* | fix issue #25 | Benoit Germain | 2012-06-24 | 4 | -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-germain | 2012-06-20 | 1 | -2/+2 |
| | | | | has to wake up in 0ms or when timer lane is cancelled. | ||||
* | expose error sentinel lanes.cancel_error | benoit-germain | 2012-06-19 | 1 | -0/+1 |
| | |||||
* | * 3.1.3 rockspecv3.1.3 | Benoit Germain | 2012-06-12 | 1 | -0/+91 |
| | |||||
* | * linda:receive() batched mode now accepts a max_count optional argument | Benoit Germain | 2012-06-12 | 4 | -32/+57 |
| | |||||
* | * 3.1.2 rockspecv3.1.2 | Benoit Germain | 2012-06-05 | 1 | -0/+91 |
| | |||||
* | * fixed thread_cancel() not working when called without argument | Benoit Germain | 2012-06-05 | 3 | -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.1 | Benoit Germain | 2012-05-08 | 3 | -1/+10 |
| | |||||
* | 3.1.1 rockspec | Benoit Germain | 2012-05-08 | 1 | -0/+91 |
| | |||||
* | Improve LuaJIT compatibility, part #2: timer lane generator uses "*" library ↵ | benoit-germain | 2012-04-26 | 1 | -1/+1 |
| | | | | list | ||||
* | Improve LuaJIT compatibility, part #1: "*" library list is loaded through ↵ | benoit-germain | 2012-04-26 | 1 | -2/+10 |
| | | | | luaL_openlibs() | ||||
* | Fix issue #15 (lanes fails to build on Linux x86_64 (gcc 4.6.1) size_t vs ↵ | benoit-germain | 2012-04-24 | 1 | -4/+1 |
| | | | | int size) | ||||
* | Merge pull request #17 from LuaDist/550dd55b0e571577a4ca6ccc880738f1268adb57 | benoit-germain | 2012-04-24 | 3 | -45/+7 |
|\ | | | | | merge commits from steve | ||||
| * | assert() throws because result is too large to be an integer | steve donovan | 2011-03-16 | 1 | -1/+1 |
| | | |||||
| * | MinGW build now does not use MS runtime | steve donovan | 2011-03-16 | 2 | -44/+6 |
| | | |||||
* | | * rockspec for v3.1.0v3.1.0 | Benoit Germain | 2012-02-18 | 1 | -0/+91 |
| | | |||||
* | | * changed lanes.configure signature to receive a table instead of individual ↵ | Benoit Germain | 2012-02-18 | 31 | -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.0 | Benoit Germain | 2012-01-09 | 2 | -2/+4 |
|\ \ | |||||
| * | | crashfix: WIN32 builds shouldn't THREAD_WAIT on a THREAD_KILL'ed thread, ↵ | benoit-germain | 2011-11-15 | 1 | -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-germain | 2011-11-15 | 1 | -1/+1 |
| | | | | | | | | | | | | instead of the global scope. | ||||
* | | | rockspec for version 3.0.0 | Benoit Germain | 2012-01-09 | 1 | -0/+97 |
|/ / | |||||
* | | * removed packagepath and packagecpath options, replaced by a package table, ↵ | Benoit Germain | 2011-11-14 | 6 | -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 rockspec | Benoit Germain | 2011-11-13 | 1 | -1/+1 |
| | | |||||
* | | fix link on Ubuntu 11.10 | Benoit Germain | 2011-11-09 | 1 | -1/+1 |
| | | |||||
* | | some more compilation warning fixes | Benoit Germain | 2011-11-09 | 3 | -9/+11 |
| | | |||||
* | | update rockspecv3.0-beta | benoit-germain | 2011-11-07 | 1 | -1/+1 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' | Benoit Germain | 2011-11-07 | 1 | -0/+2 |
|\ \ | |||||
| * | | Cause `lanes.configure()` to return the module table to enable the `require ↵ | benoit-germain | 2011-11-07 | 1 | -0/+2 |
| | | | | | | | | | | | | "lanes".configure()` idiom. | ||||
* | | | * fix all compilation warnings raised by -Wextra | Benoit Germain | 2011-11-07 | 3 | -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 Germain | 2011-11-05 | 36 | -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 rockspec | Benoit Germain | 2011-11-05 | 1 | -0/+97 |
| | | |||||
* | | Debug code to check why LuaJIT2-beta8 fails to load the module. | benoit-germain | 2011-06-24 | 1 | -5/+14 |
| | | |||||
* | | linda:send() raises an error when there is no data to send instead of ↵v2.2.0 | Benoit Germain | 2011-05-14 | 3 | -1/+9 |
| | | | | | | | | silently doing nothing. | ||||
* | | * linda uses a fast FIFO implementation to speed up data exchanges | Benoit Germain | 2011-04-18 | 1 | -0/+223 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | * new linda:count() method * new linda batched data read mode * proper key type check in all linda methods * fix setup-vc.cmd to support Visual Studio 2010 and Windows 7 64 bits * bugfix: release keeper state mutex at desinit | ||||
| * | | Release keeper state mutex at module desinit. | benoit-germain | 2011-04-11 | 1 | -0/+1 |
| | | | |||||
* | | | * linda uses a fast FIFO implementation to speed up data exchanges | Benoit Germain | 2011-04-18 | 8 | -162/+310 |
|/ / | | | | | | | | | | | | | | | * new linda:count() method * new linda batched data read mode * proper key type check in all linda methods * fix setup-vc.cmd to support Visual Studio 2010 and Windows 7 64 bits * bugfix: release keeper state mutex at desinit | ||||
* / | New features | Benoit Germain | 2011-03-30 | 5 | -12/+197 |
|/ | | | | | | * linda honors __tostring and __concat * new accessor linda:keys(), to retrieve the list of keys with pending data inside a linda * new lanes options packagepath and packagecpath, in case one needs to set them differently than the default | ||||
* | hopefully fix pthread compilation (and should work better under WIN32 too...)v2.1.0 | Benoit Germain | 2011-03-02 | 1 | -2/+2 |
| | |||||
* | fix typo in timer function code | benoit-germain | 2011-03-02 | 1 | -1/+1 |
| | |||||
* | rockspecs for 2.0.11 and 2.1.0 (latest not operational yet since tag doesn't ↵ | Benoit Germain | 2011-03-01 | 2 | -2/+99 |
| | | | | exist) | ||||
* | Just a small fix necessary because -Werror is used and GCC 4.2 on OS X ↵ | Benoit Germain | 2011-03-01 | 1 | -1/+1 |
| | | | | complains. | ||||
* | * fixed potential crash at application shutdown when calling lua_close() on ↵ | Benoit Germain | 2011-03-01 | 7 | -133/+250 |
| | | | | | | | a killed thread's VM. * exposed cancel_test() in the lanes to enable manual testing for cancellation requests. * removed kludgy {globals={threadName}} support, replaced with a new function set_debug_threadname(). | ||||
* | Make the number of internal keeper states selectable by an optional ↵ | Benoit Germain | 2011-02-21 | 6 | -57/+71 |
| | | | | parameter passed to require. | ||||
* | * keeper.lua is now embedded in text form instead of bytecode to improve ↵ | Benoit Germain | 2011-02-18 | 11 | -242/+347 |
| | | | | | | LuaJIT2-compatibility (but this is not enough). * moved keeper-related code in a separate source file | ||||
* | Lane userdata implementation refactoring: | Benoit Germain | 2011-02-17 | 10 | -188/+346 |
| | | | | | | | | | | | | | | | - Refactor lane proxy implementation: it is now a full userdata instead of a table, and its methods are implemented in C instead of Lua. * its metatable is no longer accessible. * writing to the proxy raises an error. * it is no longer possible to overwrite its join() and cancel() methods - when a deep userdata idfunc requests a module to be required, manually check that it is not loaded before requiring it instead of relying on the require function's loop detection feature. - when a module must be required, raise an error if the 'require' function is not found in the target state. - we know Lanes is loaded in the master state, so we don't force it to be required in every lane too when a linda deep userdata is copied. | ||||
* | Fixed application hang-up because keeper state was not released in case of ↵ | Benoit Germain | 2011-02-14 | 5 | -8/+31 |
| | | | | errors thrown by inter-state data copy for unsupported types |