aboutsummaryrefslogtreecommitdiff
path: root/docs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Minor documentation improvementsHEADmasterBenoit Germain2026-03-121-5/+8
|
* Internal improvementsBenoit Germain2026-03-051-1/+1
| | | | | | (1) replace RAII/destructor-based error handling in lane_new with lua_pcall (2) validate native thread priorities (3) improve unit test coverage for the latter
* Shamelessly grab Lua's CSS and use them for ourselves in the documentationBenoit Germain2026-03-034-460/+663
|
* Unify sleep() timeout with send() and receive (nil means forever)v4.0.0Benoit Germain2026-02-271-10/+10
|
* More minor doc tweaksBenoit Germain2026-02-261-4/+16
|
* Fix typo in convert_max_attempts documentationBenoit Germain2026-02-261-1/+1
|
* Fix lanes.timers() documentation error, and add the relevant unit testBenoit Germain2026-02-261-1/+1
|
* Fix thread_priority_range() documentation errorBenoit Germain2026-02-261-1/+1
|
* Fix documentation about finalizersBenoit Germain2026-02-261-1/+1
|
* Fix linda:receive() documentation errorBenoit Germain2026-02-261-1/+1
|
* More cancellation documentation fixesBenoit Germain2026-02-261-2/+4
|
* change cancel_test() to raise cancel_error on hard-cancels by defaultBenoit Germain2026-02-261-7/+12
|
* Improve cancel_test() documentation and unit testBenoit Germain2026-02-261-2/+6
|
* Lift restriction on tables as table keysBenoit Germain2025-09-291-9/+5
| | | | As demonstrated by the unit tests, there is no problem with using a table as a table key
* Many small doc tweaksBenoit Germain2025-09-291-39/+42
|
* Fix a small doc typoBenoit Germain2025-09-221-2/+2
|
* Improve table and userdata conversionsBenoit Germain2025-09-201-3/+30
| | | | | | | | * add convert_fallback and convert_max_attempts to global settings * if no __lanesconvert is available, use convert_fallback (can be useful for externally provided full userdata with fixed metatables) * only try conversion on non-deep and non-clonable userdata * conversion can be applied recursively, up to convert_max_attempts times * plus all the relevant unit tests of course
* Minor doc fixesBenoit Germain2025-07-041-2/+2
|
* Added Lua 5.5 supportBenoit Germain2025-07-041-3/+3
| | | | * some unit tests fail/segfault/freeze, but that could be because Lua 5.5 is still in beta yet
* Fix more issues related to suspended coroutines and join/indexing operationsBenoit Germain2025-07-031-5/+6
| | | | | * indexing and joining a suspended lane closes the coroutine, causing the termination of the lane * properly close coroutine to-be-closed variables on interruption
* Minor documentation fixBenoit Germain2025-06-261-2/+2
|
* Change lane:join() return valuesBenoit Germain2025-06-051-3/+3
| | | | | | * 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
* Thread priority reworkBenoit Germain2025-05-071-8/+13
| | | | | | | * thread priorities can now be set using the native range of values, if desired. * thread API errors cause a Lua error instead of aborting the program. * new function lanes.thread_priority_range(), to query the valid range of priorities. * unit tests for all of the above
* cancel_test() returns "soft"/"hard" instead of trueBenoit Germain2025-04-231-6/+17
|
* Fix doc typosBenoit Germain2025-04-231-38/+38
|
* Documentation improvementsBenoit Germain2025-04-211-10/+88
| | | | | * added an API cheat sheet * improved documentation for lane:cancel()
* New feature: Linda periodical cancellation checksBenoit Germain2025-04-181-11/+35
| | | | | | | * 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 mode reworkBenoit Germain2025-04-151-5/+5
| | | | | * linda.batched special value is removed * new function linda:receive_batched
* Fix documentation for lane:cancel()Benoit Germain2025-04-151-1/+1
|
* Raise a regular Lua error instead of throwing a C++ std::logic_error ↵Benoit Germain2025-03-171-2/+4
| | | | exception in Universe::UniverseGC
* lanes/core.[so|dll] → lanes_core.[so|dll]Benoit Germain2025-03-141-2/+2
|
* Sample module deep test renamed deep_userdata_exampleBenoit Germain2025-03-111-2/+2
|
* Fix another little documentation mistakeBenoit Germain2024-12-131-2/+2
|
* Clarify documentation on the callback provided to lanes.finally()Benoit Germain2024-12-121-1/+1
|
* Remove documentation wrongitudesBenoit Germain2024-12-111-9/+7
|
* lanes.collectgarbage() and linda:collectgarbage()Benoit Germain2024-12-101-0/+23
|
* New method linda:restrict()Benoit Germain2024-12-031-55/+77
|
* Data transfer supports registered non-deep full userdataBenoit Germain2024-12-021-28/+30
|
* Tweak documentationBenoit Germain2024-11-291-1/+1
|
* Tweak documentationBenoit Germain2024-11-281-1/+4
|
* Make lanes.register() available as an exported C function lanes_register()Benoit Germain2024-11-271-1/+2
|
* Renamed _pch.h → _pch.hpp, deep.h → deep.hpp, lanes.h → lanes.hppBenoit Germain2024-10-281-2/+2
|
* New linda:wake() and linda.statusBenoit Germain2024-10-251-2/+12
|
* Update CHANGES and documentationBenoit Germain2024-09-241-1/+1
|
* Modernized lanes.gen() base library list processing codeBenoit Germain2024-09-241-1/+3
|
* Fix index.htmlBenoit Germain2024-07-301-83/+83
|
* Documentation for coroutine lanesBenoit Germain2024-07-041-10/+60
|
* Renamed set_debug_threadname → lane_threadname (can also read the current ↵Benoit Germain2024-07-031-2/+2
| | | | name now)
* lanes.finally() handler decides whether to thow or freezeBenoit Germain2024-07-011-3/+4
|
* Make Lanes crash on purpose at shutdown if some lanes still runBenoit Germain2024-06-281-27/+23
|