lean4-htt/src/runtime
Henrik Böving 1b5a52a5e9
feat: Std.BaseMutex.tryLock and Mutex.tryAtomically (#7751)
This PR adds `Std.BaseMutex.tryLock` and `Std.Mutex.tryAtomically` as
well as unit tests for our locking and condition variable primitives.

---------

Co-authored-by: Markus Himmel <markus@lean-fro.org>
2025-03-31 12:19:09 +00:00
..
uv feat: UDP socket support using LibUV (#7574) 2025-03-26 15:04:25 +00:00
alloc.cpp fix: heartbeats from realizeConst should be ignored (#7473) 2025-03-13 15:10:29 +00:00
alloc.h fix: heartbeats from realizeConst should be ignored (#7473) 2025-03-13 15:10:29 +00:00
allocprof.cpp
allocprof.h
apply.cpp
apply.h
array_ref.h perf: fix implementation of move constructors and move assignment ope… (#4700) 2024-08-02 17:55:03 +00:00
buffer.h chore: re-land "perf: use C23's free_sized when available" (#6844) 2025-02-04 12:43:56 +00:00
CMakeLists.txt perf: use mimalloc by default (#7710) 2025-03-30 22:40:41 +00:00
compact.cpp feat: API to avoid deadlocks from dropped promises (#6958) 2025-02-07 15:33:10 +00:00
compact.h feat: API to avoid deadlocks from dropped promises (#6958) 2025-02-07 15:33:10 +00:00
debug.cpp
debug.h
exception.cpp
exception.h
flet.h
hash.cpp
hash.h feat: define Int8 (#5790) 2024-10-25 06:06:40 +00:00
init_module.cpp feat: implement basic async IO with timers (#6505) 2025-01-13 18:11:04 +00:00
init_module.h
int.h feat: define ISize and basic operations on it (#5961) 2024-11-05 15:08:19 +00:00
interrupt.cpp
interrupt.h
io.cpp chore: fix fsanitize preset (#7651) 2025-03-24 09:17:45 +00:00
io.h feat: use libuv for tempfiles (#5135) 2024-10-14 13:56:56 +00:00
libuv.cpp feat: UDP socket support using LibUV (#7574) 2025-03-26 15:04:25 +00:00
libuv.h feat: UDP socket support using LibUV (#7574) 2025-03-26 15:04:25 +00:00
list_ref.h perf: fix implementation of move constructors and move assignment ope… (#4700) 2024-08-02 17:55:03 +00:00
memory.cpp
memory.h
mpn.cpp
mpn.h
mpz.cpp perf: use mimalloc for all Lean allocations (#7736) 2025-03-30 23:00:17 +00:00
mpz.h feat: add Int16/Int32/Int64 (#5885) 2024-11-04 13:18:05 +00:00
mutex.cpp feat: Std.BaseMutex.tryLock and Mutex.tryAtomically (#7751) 2025-03-31 12:19:09 +00:00
mutex.h
object.cpp perf: store mimalloc object size in header (#7734) 2025-03-31 06:52:56 +00:00
object.h feat: socket support using LibUV (#6683) 2025-03-19 13:54:51 +00:00
object_ref.cpp
object_ref.h perf: add lean_instantiate_level_mvars (#4910) 2024-08-04 18:31:44 +00:00
option_ref.h perf: add lean_instantiate_level_mvars (#4910) 2024-08-04 18:31:44 +00:00
optional.h perf: fix implementation of move constructors and move assignment ope… (#4700) 2024-08-02 17:55:03 +00:00
pair_ref.h
platform.cpp
platform.h
process.cpp feat: IO.getTID (#6049) 2024-11-16 19:13:11 +00:00
process.h
sharecommon.cpp feat: API to avoid deadlocks from dropped promises (#6958) 2025-02-07 15:33:10 +00:00
sharecommon.h fix: LEAN_EXPORT in sharecommon (#4893) 2024-08-01 13:03:25 +02:00
sstream.h
stack_overflow.cpp fix: Do not overwrite existing signal handlers (#5062) 2024-08-19 09:11:38 +00:00
stack_overflow.h
stackinfo.cpp fix: make the stack handling more robust to sanitizers and -O3 (#6143) 2024-11-22 15:10:20 +00:00
stackinfo.h
string_ref.h perf: fix implementation of move constructors and move assignment ope… (#4700) 2024-08-02 17:55:03 +00:00
thread.cpp chore: missing include on Windows (#4919) 2024-08-05 15:50:43 +00:00
thread.h
utf8.cpp
utf8.h