mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 17:12:31 +00:00
e06ab1b010
When a thread is detached from the main thread, we automatically cleanup any allocated memory. For this we first reset the stack-pointer to the original stack-pointer of the main-thread so we can safely clear the memory which also contains the thread's stack. |
||
---|---|---|
.. | ||
Condition.zig | ||
Futex.zig | ||
Mutex.zig | ||
Pool.zig | ||
ResetEvent.zig | ||
RwLock.zig | ||
Semaphore.zig | ||
WaitGroup.zig |