aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Take all code from Asko Kauppi's SVN server, and push it here so that the ↵Benoit Germain2011-01-046-438/+602
| | | | | | | | | | | | 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>
* Import to gitPeter Drahoš2010-10-018-0/+5067