| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
exist)
|
|
|
|
| |
complains.
|
|
|
|
|
|
|
| |
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().
|
|
|
|
| |
parameter passed to require.
|
|
|
|
|
|
| |
LuaJIT2-compatibility (but this is not enough).
* moved keeper-related code in a separate source file
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
errors thrown by inter-state data copy for unsupported types
|
|
|
|
| |
errors thrown by inter-state data copy for unsupported types
|
|
|
|
| |
lua-callable and to be able to require the module it was exported from in the target lanes.
|
| |
|
|
|
|
|
| |
Fixed makefile so that make finds lua.exe
Updated contact information in documentation
|
|\ |
|
| |
| |
| |
| | |
directly to the globals table.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|\ |
|
| |
|
|
|