aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* C++ migration: still more threading code cleanup. 'sudo' global moved in the ↵Benoit Germain2024-04-099-68/+67
| | | | Universe
* C++ migration: YIELD() → std::this_thread::yield. plus more threading code ↵Benoit Germain2024-04-093-319/+193
| | | | cleanup
* C++ migration: lanes.now_secs uses std::chrono::sytem_clock. plus more enum ↵Benoit Germain2024-04-086-153/+77
| | | | class cleanup.
* C++ migration: use std::jthread, std::condition_variable, std::chrono.Benoit Germain2024-04-0811-1171/+555
| | | | | | | | win32 pthread support is gone new setting configure.shutdown_mode for cancellation of free-running threads at shutdown. no more hard thread termination! If a thread doesn't cooperate, an error is raised. lane.status "killed" is gone lane:cancel can't force-kill.
* C++ migration: one-time inits are sequenced with std::atomic_flagBenoit Germain2024-04-051-30/+14
|
* Enable manual control of GC inside keeper statesBenoit Germain2024-04-054-13/+64
|
* C++ migration: more atomicsBenoit Germain2024-04-025-91/+94
|
* C++ migration: fix some warnings in 32 bits buildsBenoit Germain2024-03-315-22/+16
|
* C++ migration: make sure to always create the lane handle userdataBenoit Germain2024-03-301-42/+69
|
* C++ migration: all enums are enum classBenoit Germain2024-03-2913-186/+234
|
* C++ migration: bumped version and updated documentationBenoit Germain2024-03-291-5/+5
|
* C++ migration: parallelize lane setup and OS thread warmupBenoit Germain2024-03-293-102/+146
|
* C++ migration: Lane is a proper class with overloaded operator new/deleteBenoit Germain2024-03-295-65/+76
|
* C++ migration: improved UniqueKey interfaceBenoit Germain2024-03-2811-124/+125
|
* C++ migration: lots of noise, but it's only some minor code cleanupBenoit Germain2024-03-286-746/+773
|
* linda.batched is now a lightuserdata instead of a string. plus some ↵Benoit Germain2024-03-282-352/+335
| | | | reformatting.
* C++ migration: Linda is a proper class with overloaded operator new/deleteBenoit Germain2024-03-284-29/+34
|
* C++ migration: cleanup usage of lua_error and luaL_errorBenoit Germain2024-03-288-35/+44
|
* C++ migration: less kludgy Linda name management with a std::variantBenoit Germain2024-03-283-74/+158
|
* C++ migration: buildfix for pre-5.4 Lua targetsBenoit Germain2024-03-271-0/+1
|
* C++ migration:: new helper template lua_newuserdatauvBenoit Germain2024-03-273-52/+59
|
* C++ migration: fix deep userdata refcounting bug introduced by std::atomic usageBenoit Germain2024-03-271-3/+2
|
* C++ migration: new helper templates lua_tolightuserdata and lua_tofulluserdataBenoit Germain2024-03-279-50/+74
|
* C++ migration: templated lua_touserdataBenoit Germain2024-03-269-28/+41
|
* C++ migration: Fix metatable caching bug introduced when converting the ↵Benoit Germain2024-03-262-2/+2
| | | | index to std::atomic
* C++ migration: refactor AllocatorDefinition and ProtectedAllocator into classesBenoit Germain2024-03-267-96/+132
|
* C++ migration: Universe MUTEX_T replaced with std::mutex and std::atomicBenoit Germain2024-03-258-141/+112
|
* C++ migration: revamped stack checking macrosBenoit Germain2024-03-259-320/+359
|
* C++ migration: STACK_GROW is no longer a macro, sanitized and fixed warnings ↵Benoit Germain2024-03-226-394/+419
| | | | in keeper.cpp
* C++ migration: REGISTRY_SET and REGISTRY_GET are gone, welcome templates and ↵Benoit Germain2024-03-219-75/+75
| | | | lambdas
* C++ migration: ThreadStatus, CancelRequest and CancelResult are enum classBenoit Germain2024-03-205-69/+68
|
* C++ migration: removed most typedef, removed uint_tBenoit Germain2024-03-2014-105/+87
|
* C++ migration: more NULL → nullptrBenoit Germain2024-03-2011-90/+95
|
* C++ migration: UniqueKeyBenoit Germain2024-03-2013-62/+80
|
* C++ migration: bool_t → boolBenoit Germain2024-03-2014-144/+131
|
* Merge branch 'C-Implementation'Benoit Germain2024-03-191-2/+2
|\
| * fix small internal issue with when hitting timeout on thread kill during ↵Benoit Germain2024-03-191-2/+2
| | | | | | | | thread_cancel() in pthread implementation
* | C++ migration: MSVC-specific "inline" is goneBenoit Germain2024-03-191-5/+0
| |
* | C++ migration: NULL → nullptrBenoit Germain2024-03-196-79/+79
| |
* | C++ migration: changed file extensions from .c to .cppBenoit Germain2024-03-1911-1/+1
| |
* | C++ migration: buildfixesBenoit Germain2024-03-1920-135/+135
|/ | | | Essentially, buildfixes when compiling as C++, plus properly marking public API as extern "C"
* Detect runtime LuaJIT/PUC-Lua mismatchBenoit Germain2024-02-222-6/+17
|
* src/threading.h: fix compilation on muslConrad Kostecki2024-01-231-1/+5
| | | | Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
* Finalize version 3.16.2v3.16.2Benoit Germain2023-08-172-2/+2
|
* Prevent crash on linux as non-rootAnssi Mäkinen2023-08-171-4/+4
| | | | Fixes #218
* Minor tweaksv3.16.1Benoit Germain2023-08-165-11/+10
|
* new .internal_allocator configuration IUNTESTED)Benoit Germain2023-08-0910-53/+54
| | | | new configuration option .internal_allocator to help LuaJIT users. THIS IS YET UNTESTED, USE AT YOUR OWN RISKS.
* tweaks to linux thread priority managementBenoit Germain2023-07-283-102/+116
|
* moonjit supportBenoit Germain2022-03-0910-69/+87
|
* Bug in __lanesclone with 3 parameters mechanism fixed (index was wrong in ↵valid-ptr2022-03-011-4/+4
| | | | inter_copy_function); Some comments improved