Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | C++ migration: still more threading code cleanup. 'sudo' global moved in the ↵ | Benoit Germain | 2024-04-09 | 9 | -68/+67 |
| | | | | Universe | ||||
* | C++ migration: YIELD() → std::this_thread::yield. plus more threading code ↵ | Benoit Germain | 2024-04-09 | 3 | -319/+193 |
| | | | | cleanup | ||||
* | C++ migration: lanes.now_secs uses std::chrono::sytem_clock. plus more enum ↵ | Benoit Germain | 2024-04-08 | 6 | -153/+77 |
| | | | | class cleanup. | ||||
* | C++ migration: use std::jthread, std::condition_variable, std::chrono. | Benoit Germain | 2024-04-08 | 11 | -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_flag | Benoit Germain | 2024-04-05 | 1 | -30/+14 |
| | |||||
* | Enable manual control of GC inside keeper states | Benoit Germain | 2024-04-05 | 4 | -13/+64 |
| | |||||
* | C++ migration: more atomics | Benoit Germain | 2024-04-02 | 5 | -91/+94 |
| | |||||
* | C++ migration: fix some warnings in 32 bits builds | Benoit Germain | 2024-03-31 | 5 | -22/+16 |
| | |||||
* | C++ migration: make sure to always create the lane handle userdata | Benoit Germain | 2024-03-30 | 1 | -42/+69 |
| | |||||
* | C++ migration: all enums are enum class | Benoit Germain | 2024-03-29 | 13 | -186/+234 |
| | |||||
* | C++ migration: bumped version and updated documentation | Benoit Germain | 2024-03-29 | 1 | -5/+5 |
| | |||||
* | C++ migration: parallelize lane setup and OS thread warmup | Benoit Germain | 2024-03-29 | 3 | -102/+146 |
| | |||||
* | C++ migration: Lane is a proper class with overloaded operator new/delete | Benoit Germain | 2024-03-29 | 5 | -65/+76 |
| | |||||
* | C++ migration: improved UniqueKey interface | Benoit Germain | 2024-03-28 | 11 | -124/+125 |
| | |||||
* | C++ migration: lots of noise, but it's only some minor code cleanup | Benoit Germain | 2024-03-28 | 6 | -746/+773 |
| | |||||
* | linda.batched is now a lightuserdata instead of a string. plus some ↵ | Benoit Germain | 2024-03-28 | 2 | -352/+335 |
| | | | | reformatting. | ||||
* | C++ migration: Linda is a proper class with overloaded operator new/delete | Benoit Germain | 2024-03-28 | 4 | -29/+34 |
| | |||||
* | C++ migration: cleanup usage of lua_error and luaL_error | Benoit Germain | 2024-03-28 | 8 | -35/+44 |
| | |||||
* | C++ migration: less kludgy Linda name management with a std::variant | Benoit Germain | 2024-03-28 | 3 | -74/+158 |
| | |||||
* | C++ migration: buildfix for pre-5.4 Lua targets | Benoit Germain | 2024-03-27 | 1 | -0/+1 |
| | |||||
* | C++ migration:: new helper template lua_newuserdatauv | Benoit Germain | 2024-03-27 | 3 | -52/+59 |
| | |||||
* | C++ migration: fix deep userdata refcounting bug introduced by std::atomic usage | Benoit Germain | 2024-03-27 | 1 | -3/+2 |
| | |||||
* | C++ migration: new helper templates lua_tolightuserdata and lua_tofulluserdata | Benoit Germain | 2024-03-27 | 9 | -50/+74 |
| | |||||
* | C++ migration: templated lua_touserdata | Benoit Germain | 2024-03-26 | 9 | -28/+41 |
| | |||||
* | C++ migration: Fix metatable caching bug introduced when converting the ↵ | Benoit Germain | 2024-03-26 | 2 | -2/+2 |
| | | | | index to std::atomic | ||||
* | C++ migration: refactor AllocatorDefinition and ProtectedAllocator into classes | Benoit Germain | 2024-03-26 | 7 | -96/+132 |
| | |||||
* | C++ migration: Universe MUTEX_T replaced with std::mutex and std::atomic | Benoit Germain | 2024-03-25 | 8 | -141/+112 |
| | |||||
* | C++ migration: revamped stack checking macros | Benoit Germain | 2024-03-25 | 9 | -320/+359 |
| | |||||
* | C++ migration: STACK_GROW is no longer a macro, sanitized and fixed warnings ↵ | Benoit Germain | 2024-03-22 | 6 | -394/+419 |
| | | | | in keeper.cpp | ||||
* | C++ migration: REGISTRY_SET and REGISTRY_GET are gone, welcome templates and ↵ | Benoit Germain | 2024-03-21 | 9 | -75/+75 |
| | | | | lambdas | ||||
* | C++ migration: ThreadStatus, CancelRequest and CancelResult are enum class | Benoit Germain | 2024-03-20 | 5 | -69/+68 |
| | |||||
* | C++ migration: removed most typedef, removed uint_t | Benoit Germain | 2024-03-20 | 14 | -105/+87 |
| | |||||
* | C++ migration: more NULL → nullptr | Benoit Germain | 2024-03-20 | 11 | -90/+95 |
| | |||||
* | C++ migration: UniqueKey | Benoit Germain | 2024-03-20 | 13 | -62/+80 |
| | |||||
* | C++ migration: bool_t → bool | Benoit Germain | 2024-03-20 | 14 | -144/+131 |
| | |||||
* | Merge branch 'C-Implementation' | Benoit Germain | 2024-03-19 | 1 | -2/+2 |
|\ | |||||
| * | fix small internal issue with when hitting timeout on thread kill during ↵ | Benoit Germain | 2024-03-19 | 1 | -2/+2 |
| | | | | | | | | thread_cancel() in pthread implementation | ||||
* | | C++ migration: MSVC-specific "inline" is gone | Benoit Germain | 2024-03-19 | 1 | -5/+0 |
| | | |||||
* | | C++ migration: NULL → nullptr | Benoit Germain | 2024-03-19 | 6 | -79/+79 |
| | | |||||
* | | C++ migration: changed file extensions from .c to .cpp | Benoit Germain | 2024-03-19 | 11 | -1/+1 |
| | | |||||
* | | C++ migration: buildfixes | Benoit Germain | 2024-03-19 | 20 | -135/+135 |
|/ | | | | Essentially, buildfixes when compiling as C++, plus properly marking public API as extern "C" | ||||
* | Detect runtime LuaJIT/PUC-Lua mismatch | Benoit Germain | 2024-02-22 | 2 | -6/+17 |
| | |||||
* | src/threading.h: fix compilation on musl | Conrad Kostecki | 2024-01-23 | 1 | -1/+5 |
| | | | | Signed-off-by: Conrad Kostecki <conikost@gentoo.org> | ||||
* | Finalize version 3.16.2v3.16.2 | Benoit Germain | 2023-08-17 | 2 | -2/+2 |
| | |||||
* | Prevent crash on linux as non-root | Anssi Mäkinen | 2023-08-17 | 1 | -4/+4 |
| | | | | Fixes #218 | ||||
* | Minor tweaksv3.16.1 | Benoit Germain | 2023-08-16 | 5 | -11/+10 |
| | |||||
* | new .internal_allocator configuration IUNTESTED) | Benoit Germain | 2023-08-09 | 10 | -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 management | Benoit Germain | 2023-07-28 | 3 | -102/+116 |
| | |||||
* | moonjit support | Benoit Germain | 2022-03-09 | 10 | -69/+87 |
| | |||||
* | Bug in __lanesclone with 3 parameters mechanism fixed (index was wrong in ↵ | valid-ptr | 2022-03-01 | 1 | -4/+4 |
| | | | | inter_copy_function); Some comments improved |