Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | C++ migration: keeper_call returns a std::optional | Benoit Germain | 2024-04-15 | 6 | -91/+141 |
| | |||||
* | Merge branch 'master' of https://github.com/LuaLanes/lanes | Benoit Germain | 2024-04-14 | 24 | -2360/+1638 |
|\ | |||||
| * | Merge branch 'C-Implementation' | Benoit Germain | 2024-04-11 | 1 | -1/+1 |
| |\ | | | | | | | | | | Since almost everything in C-implementation comes from manual cherry-picking stuff in master, the merge essentially consist in a pure git tree operation to reconnect stuff properly. | ||||
| | * | Bring all interesting fixes from the C++ implementation back into the C ↵ | Benoit Germain | 2024-04-11 | 17 | -397/+505 |
| | | | | | | | | | | | | implementation | ||||
| * | | C++ migration: wrap lua type values in an enum class for type safety and ↵ | Benoit Germain | 2024-04-10 | 4 | -23/+57 |
| | | | | | | | | | | | | debugging purposes | ||||
| * | | C++ migration: luaG_inter_copy_* now return an enum class instead of an ↵ | Benoit Germain | 2024-04-10 | 9 | -64/+93 |
| | | | | | | | | | | | | anonymous int | ||||
| * | | C++ migration: fixed a few std::ignore | Benoit Germain | 2024-04-10 | 7 | -156/+154 |
| | | | |||||
| * | | Minor fixes | Benoit Germain | 2024-04-09 | 1 | -1/+1 |
| | | | |||||
| * | | C++ migration: [[nodiscard]] everywhere. still have to check all std::ignore | Benoit Germain | 2024-04-09 | 19 | -256/+271 |
| | | | |||||
| * | | C++ migration: use strong type safety for source and destination states in ↵ | Benoit Germain | 2024-04-09 | 17 | -151/+157 |
| | | | | | | | | | | | | transfer functions | ||||
| * | | C++ migration: simpler one-time initializations | Benoit Germain | 2024-04-09 | 1 | -37/+14 |
| | | | |||||
| * | | 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 |
| | | | |||||
* | | | Makefile fixes | Benoit Germain | 2024-04-14 | 1 | -2/+2 |
|/ / | |||||
* | | 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 |
| | |