aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* hopefully fix pthread compilation (and should work better under WIN32 too...)v2.1.0Benoit Germain2011-03-021-2/+2
|
* fix typo in timer function codebenoit-germain2011-03-021-1/+1
|
* rockspecs for 2.0.11 and 2.1.0 (latest not operational yet since tag doesn't ↵Benoit Germain2011-03-012-2/+99
| | | | exist)
* Just a small fix necessary because -Werror is used and GCC 4.2 on OS X ↵Benoit Germain2011-03-011-1/+1
| | | | complains.
* * fixed potential crash at application shutdown when calling lua_close() on ↵Benoit Germain2011-03-017-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 Germain2011-02-216-57/+71
| | | | parameter passed to require.
* * keeper.lua is now embedded in text form instead of bytecode to improve ↵Benoit Germain2011-02-1811-242/+347
| | | | | | LuaJIT2-compatibility (but this is not enough). * moved keeper-related code in a separate source file
* Lane userdata implementation refactoring:Benoit Germain2011-02-1710-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 Germain2011-02-145-8/+31
| | | | errors thrown by inter-state data copy for unsupported types
* Fixed application hang-up because keeper state was not released in case of ↵Benoit Germain2011-02-143-312/+413
| | | | errors thrown by inter-state data copy for unsupported types
* Changed idfunc signature and contract to clarify that fact it is not ↵Benoit Germain2011-02-128-188/+226
| | | | lua-callable and to be able to require the module it was exported from in the target lanes.
* Added rockspec fileBenoit Germain2011-01-291-0/+96
|
* Updated CHANGESv2.0.11Benoit Germain2011-01-293-4/+14
| | | | | Fixed makefile so that make finds lua.exe Updated contact information in documentation
* Merge branch 'pull_request_2' of https://github.com/dptr1988/lanesBenoit Germain2011-01-262-38/+26
|\
| * Changed lanes.c to export functions as a module rather than writing them ↵Peter Dettwiler2011-01-252-38/+26
| | | | | | | | directly to the globals table.
* | Changed the atexit code to trip the timer thread's write signal.dptr19882011-01-231-5/+9
| | | | | | | | | | | | | | | | | | This fixes one of the causes of the "pthread_cond_destroy(ref) failed, 16 EBUSY" error, in which the timer thread was stuck waiting on the write_happend signal and never read the cancel request. This doesn't fix the issue of attempting to cancel threads waiting on a Linda signal. So this error message ( and seg fault ) can easily be recreated just by making a new thread, having it wait indefinitly on a Linda and then trying to cancel the thread.
* | Fixed bug where reference to Linda object was dropped for a short time ( ↵dptr19882011-01-231-1/+6
|/ | | | | | | | | crashing if GC was run during that time ). The reference could have also been stored in the module table ( or globals ) but those can be overwritten by the user. With the Lua registry, it should be inaccessible by the user and since it's referenced by a unique key, it should also normally be in accessible to C libraries, making it a relativily safe place to store the reference.
* Changed luaG_push_proxy to cache deep userdata proxies.dptr19882011-01-191-3/+46
|
* Updated dist.info to v2.0.10v2.0.10Michal Kottman2011-01-081-1/+1
|
* Fixed CMakeLists.txt to search for lua and luacMichal Kottman2011-01-081-0/+5
|
* CleanupMichal Kottman2011-01-086-2358/+0
|
* Take all code from Asko Kauppi's SVN server, and push it here so that the ↵Benoit Germain2011-01-0423-492/+3319
| | | | | | | | | | | | github repository becomes the official Lanes source codebase. Note that Asko's SVN server holds version 2.0.9, whereas this is version 2.0.10, but I don't see any real need to update SVN if it is to become deprecated. Next steps: - upgrade the rockspec to the latest version - make the html help available online somewhere Signed-off-by: Benoit Germain <bnt.germain@gmail.com>
* Droping down CMake requirementv2.0.3Peter Drahoš2010-10-031-1/+1
|
* Merge branch 'master' of github.com:drahosp/lanesPeter Drahoš2010-10-010-0/+0
|\
| * First commit!Peter Drahoš2010-10-011-0/+0
|
* Import to gitPeter Drahoš2010-10-0147-0/+9195