| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* I need to keep deep_userdata_example hackishly built-in inside the unit tests executable, because using the external module cause a crash in Lua51 tests (module is unloaded before some deep objects are GCed...)
* copy the test script in the proper location and invoke it as part of the tests
|
|
|
|
| |
* prepare the luaL_Buffer in the destination state instead of the source state to prevent stack issues when everything happens in the same state
|
|
|
|
| |
* some unit tests fail/segfault/freeze, but that could be because Lua 5.5 is still in beta yet
|
| |
|
|
|
|
|
| |
* indexing and joining a suspended lane closes the coroutine, causing the termination of the lane
* properly close coroutine to-be-closed variables on interruption
|
| |
|
|
|
|
|
|
|
|
| |
* lane:join() can no longer be used to read yielded values
* same with lane indexing
* stub for lane:close(), similar to coroutine.close() (not implemented yet)
* preparing tests for to-be-closed variables in yielded coroutine lanes
* yielded lanes unlock and terminate properly at Lanes shutdown
|
| |
|
| |
|
|
|
|
|
|
| |
* when no error is raised in the lane, lane:join() now precedes the lane returned values with true
* lane body is no longer forced to return something when used with join()
* adjusted all relevant unit tests accordingly
|
|
|
|
|
|
| |
* fix cooperative_shutdown
* add a test to tasking_cancelling
* fix bad fixture function name give_me_back
|
| |
|
| |
|
|
|
|
|
|
|
| |
* lanes.linda() api change: takes all settings in a single table argument
* new linda creation argument wake_period
* new lanes.configure setting linda_wake_period
* adjusted all unit tests (one TODO test fails on purpose)
|
|
|
|
|
| |
* linda.batched special value is removed
* new function linda:receive_batched
|
|
|
|
|
| |
* split tasking_cancelling in two
* add a timer in basic and tasking_cancelling as a temporary workaround for a deadlock in mingw ucrt64 builds
|
|
|
|
| |
exception in Universe::UniverseGC
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
discovered
* cancel.lua fails when using lanes.coro
* coro/basics.lua fails because an error message is different
* coro/error_handling fails for an unknown reason
* a lanes.finally test crashes inside lua_close
|
|
|
|
|
|
|
| |
* vcproj settings
* always load "jit" module so that lanes does not detect it in running under PUC-Lua
* add fixture support so that test "cooperative_shutdown.lua" works
* fix test "lanes.configure() allocator setting not failing like it should
|
|
|