blaise/runtime
Graeme Geldenhuys 70a22267cc feat(rtl): mutex-protect weak reference table for thread safety
Add a pthread mutex around all weak reference table operations
(_WeakAssign, _WeakClear, _WeakZeroSlots).  The table is a shared
global data structure, and concurrent _ClassRelease calls from
multiple threads could corrupt the bucket chains without locking.

The mutex is coarse-grained (one lock for the entire table) but
sufficient because weak references are rare relative to strong ARC
operations.
2026-06-06 12:48:08 +01:00
..
src feat(rtl): mutex-protect weak reference table for thread safety 2026-06-06 12:48:08 +01:00
Makefile feat(rtl): atomic ARC refcount operations for thread safety 2026-06-06 12:44:53 +01:00
project.xml refactor: split rtl/ into runtime/ + stdlib/, rename bcl.testing to blaise.testing 2026-05-16 00:51:18 +01:00