aboutsummaryrefslogtreecommitdiff
path: root/src/linda.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* New compatibility helper luaG_rawgetBenoit Germain9 days1-2/+1
|
* lanes.collectgarbage() and linda:collectgarbage()Benoit Germain2024-12-101-0/+24
|
* Improved DeepPrelude architectureBenoit Germain2024-12-091-0/+34
|
* New method linda:restrict()Benoit Germain2024-12-031-24/+80
|
* More [[nodiscard]] boyscoutingBenoit Germain2024-11-201-2/+4
|
* Cleaning up guanoBenoit Germain2024-11-131-2/+2
| | | | | * 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-2/+2
| | | | Converted volatile Lane::cancelRequest to std::atomic
* Cleaning up guanoBenoit Germain2024-11-131-6/+6
| | | | Converted volatile Lane::status to std::atomic
* 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
|
* New linda:wake() and linda.statusBenoit Germain2024-10-251-10/+99
|
* Make Unique even strongerBenoit Germain2024-10-241-4/+4
|
* Added strong types UserValueCount and UnusedIntBenoit Germain2024-10-241-2/+2
|
* Sprinkling StackIndex all over the placeBenoit Germain2024-10-081-26/+26
|
* Internal improvements: new strong types StackIndex and KeeperIndexBenoit Germain2024-10-071-28/+28
|
* Build fixes for mingw/g++Benoit Germain2024-10-011-17/+18
|
* less char const* in the codeBenoit Germain2024-09-241-2/+2
|
* linda:limit() and linda:set() return a second value, a string representing ↵Benoit Germain2024-06-271-9/+11
| | | | the fill status
* Change linda:limit()Benoit Germain2024-06-261-8/+21
| | | | | | * read the current limit of a key if no limit is provided * "unlimited" is to be used to clear the limit * fix linda:set() not ignoring the limit
* Lindas now accept deep user data as valid keysBenoit Germain2024-06-241-0/+8
|
* BoyscoutingBenoit Germain2024-06-141-358/+383
|
* lua_pushliteral -> luaG_pushstringBenoit Germain2024-06-141-5/+5
|
* More char* -> std::string_view conversionsBenoit Germain2024-06-141-4/+4
|
* linda :get(), :set(), :limit() return value changesBenoit Germain2024-06-121-19/+19
|
* Add support for to-be-closed lindaBenoit Germain2024-06-121-14/+101
|
* linda:send() returns nil,<something> in case of errorBenoit Germain2024-06-101-4/+12
|
* Unify the value returned by linda:deep() and the string conversion of an ↵Benoit Germain2024-06-101-2/+2
| | | | unnamed Linda
* Suspend/resume GC around Linda operationsBenoit Germain2024-06-101-0/+8
|
* Boyscouting some luaG_ functionsBenoit Germain2024-06-071-5/+5
|
* Use a precompiled header to speed up the buildBenoit Germain2024-06-071-3/+1
|
* Code boyscoutingBenoit Germain2024-06-071-41/+41
|
* Debug code to help track linda gc during keeper operationBenoit Germain2024-06-071-0/+2
|
* lanes.linda("auto")Benoit Germain2024-06-061-1/+2
|
* One more std::ranges::iota_viewBenoit Germain2024-06-061-12/+16
|
* Modernize compatBenoit Germain2024-06-051-10/+10
|
* Refactored keeper implementation of linda:receive()Benoit Germain2024-06-041-1/+4
|
* Fix linda.batched mode broken by previous changeBenoit Germain2024-06-041-1/+1
|
* Remove some useless compatibility stuffBenoit Germain2024-06-041-4/+1
|
* Some API changesBenoit Germain2024-05-311-3/+16
| | | | | | * lanes.timers() can return nil, cancel_error if interrupted * linda:receive() always return a k,v, where k is nil when v is "timeout" or cancel_error * lanes.sleep returns nil, "timeout" during normal operations
* Start modernizing Keeper implementationBenoit Germain2024-05-311-0/+26
|
* Keeper management modernisation and improvementsBenoit Germain2024-05-301-7/+18
| | | | | | | * use a std::variant to manage the distinction between one or more keeper states. Use std::unique_ptr<Keeper[]> to manage the multiple keeper case. * setting "nb_keepers" renamed "nb_user_keepers", to indicate these are in addition to internal keeper #0 used for timers. * stricter lanes.linda() argument checking. group is imposed if more than one keeper is used. * more tests
* Fix clang-tidy issues (most notably Microsoft-specific explicit constructor ↵Benoit Germain2024-05-291-1/+1
| | | | calls)
* Fix bad uses of STRINGVIEW_FMTBenoit Germain2024-05-291-1/+1
|
* More string_viewBenoit Germain2024-05-271-6/+6
|
* namespace tweaksBenoit Germain2024-05-271-18/+20
|
* More string_view + improved DEBUGSPEW outputBenoit Germain2024-05-271-3/+3
|
* Fix buffer overrun in Linda nameBenoit Germain2024-05-221-14/+20
|
* Fix __lanesignoreBenoit Germain2024-05-221-13/+0
|