Module safe_api

Source

Structs§

Mutex
Safe mutex implementation
MutexGuard
RAII guard for mutex
ThreadBuilder
Safe thread builder with compile-time checks
ThreadHandle
Safe thread handle that ensures proper cleanup
ThreadLocal
Thread-local storage key
ThreadPool
Safe thread pool for managing multiple threads

Functions§

exit_thread
Safe exit function
yield_now
Safe yield function