aboutsummaryrefslogtreecommitdiff
path: root/src/lane.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* New compatibility helper luaG_rawgetBenoit Germain9 days1-8/+4
|
* All enums are [[nodiscard]]Benoit Germain2025-02-051-0/+1
|
* Minor internal code tweaksBenoit Germain2025-02-051-2/+2
| | | | | | | * mark all eligible classes Final * new TableIndex strong type * buildfixes for HAVE_DEBUGSPEW() * overridden virtual destructors tagged as such
* Unit tests for thread nameBenoit Germain2024-12-161-6/+6
|
* Fix lane {.name} setting applicationBenoit Germain2024-12-131-25/+34
| | | | The name of the lane was applied to the thread of the lane's creator instead of the lane's thread
* Better validation of lane:cancel() argumentsBenoit Germain2024-12-041-0/+1
|
* Internal rework of an enum bad practice usageBenoit Germain2024-12-031-3/+3
|
* More [[nodiscard]] boyscoutingBenoit Germain2024-11-201-7/+14
|
* Cleaning up guanoBenoit Germain2024-11-131-3/+4
| | | | | * Lane::waiting on does not need to be volatile or anything else, all accesses are controlled through status acquire/release semantics * this contains fixes about bad ordering of said accesses in Linda:send and Linda:receive
* Cleaning up guanoBenoit Germain2024-11-131-3/+4
| | | | Lane::selfdestruct_next and Universe::selfdestructFirst do not need to be volatile or anything else, all accesses are mutex-protected
* Cleaning up guanoBenoit Germain2024-11-131-1/+1
| | | | Converted volatile Lane::cancelRequest to std::atomic
* Cleaning up guanoBenoit Germain2024-11-131-20/+26
| | | | Converted volatile Lane::status to std::atomic
* Renamed intercopycontext.h → intercopycontext.hpp, state.h → state.hppBenoit Germain2024-10-281-1/+1
|
* Renamed debugspew.h → debugspew.hpp, lindafactory.h → lindafactory.hppBenoit Germain2024-10-281-1/+1
|
* Renamed lane.h → lane.hpp, linda.h → linda.hpp, threading.h → ↵Benoit Germain2024-10-281-2/+2
| | | | threading.hpp
* Renamed allocator.h → allocator.hpp, cancel.h → cancel.hpp, keeper.h → ↵Benoit Germain2024-10-281-1/+1
| | | | keeper.hpp, tools.h → tools.hpp
* Renamed _pch.h → _pch.hpp, deep.h → deep.hpp, lanes.h → lanes.hppBenoit Germain2024-10-281-1/+1
|
* Some internal function name changes + slight lane:__index optimizationBenoit Germain2024-10-281-23/+25
|
* Fix a minor assert message + code boyscoutingBenoit Germain2024-10-251-2/+2
|
* Modernized some more triflesBenoit Germain2024-10-241-6/+6
|
* Factorized Lane::cancelSoft/cancelHard → internalCancelBenoit Germain2024-10-241-24/+9
|
* Strengthen more code with UserValueIndexBenoit Germain2024-10-241-9/+9
|
* More strong typing for UniqueKey::getSubTable() argumentsBenoit Germain2024-10-241-1/+1
|
* Sprinkling StackIndex all over the placeBenoit Germain2024-10-081-69/+71
|
* Code boyscoutingBenoit Germain2024-07-301-22/+22
|
* Internal refactorization to properly handle lua_resume idiosyncrasiesBenoit Germain2024-07-291-166/+259
|
* get_debug_threadname → get_threadnameBenoit Germain2024-07-041-4/+4
|
* Fix finalizers in coroutine lanesBenoit Germain2024-07-041-2/+4
|
* Error handling in coroutine lanesBenoit Germain2024-07-041-22/+20
|
* It is possible to index and join a suspended coroutine laneBenoit Germain2024-07-031-13/+52
|
* Renamed set_debug_threadname → lane_threadname (can also read the current ↵Benoit Germain2024-07-031-17/+31
| | | | name now)
* Add minimal coroutine support: no doc, no error handling, no cancellation ↵Benoit Germain2024-07-031-24/+118
| | | | handling (yet)
* linda:limit() and linda:set() return a second value, a string representing ↵Benoit Germain2024-06-271-1/+1
| | | | the fill status
* Wording fix: parameter → argumentBenoit Germain2024-06-141-1/+1
|
* BoyscoutingBenoit Germain2024-06-141-4/+4
|
* Fix error handling when indexing a lane with unexpected dataBenoit Germain2024-06-141-5/+15
|
* lua_pushliteral -> luaG_pushstringBenoit Germain2024-06-141-12/+12
|
* More fixes to make clang happyBenoit Germain2024-06-141-4/+10
|
* A small step toward making clang happyBenoit Germain2024-06-131-17/+18
|
* Code boyscoutingBenoit Germain2024-06-121-5/+5
|
* Modernize cancel code some moreBenoit Germain2024-06-111-7/+10
|
* Move some cancel-related code aroundBenoit Germain2024-06-111-0/+65
|
* More application of the coding rulesBenoit Germain2024-06-111-2/+2
|
* New lane:__close does a lane:join()Benoit Germain2024-06-111-5/+26
|
* Fixes and improvements to lane:join()Benoit Germain2024-06-111-2/+12
| | | | | * fix: returns nil,cancel_error when lane was cancelled * improvement: enforce non-nil first return value of lane body when using lane:join() to obtain the results
* luaG_typename returns a std::string_viewBenoit Germain2024-06-101-2/+2
|
* Boyscouting some luaG_ functionsBenoit Germain2024-06-071-11/+11
|
* Use a precompiled header to speed up the buildBenoit Germain2024-06-071-1/+1
|
* Converted a few more raw string pointers to std::string_viewBenoit Germain2024-06-061-2/+2
|
* Modernize compatBenoit Germain2024-06-051-16/+16
|