|
Serene Runtime 1.0.0-dev
C runtime for the Serene programming language
|
POSIX implementation of the thread-level operations in serene/rt/fiber/thread.h, realised with pthreads. More...
Go to the source code of this file.
POSIX implementation of the thread-level operations in serene/rt/fiber/thread.h, realised with pthreads.
The pthreads mutex and condition functions return their error code as the return value and leave the global errno untouched. Every such code is mapped to an srn_thread_status_t so no pthread code escapes the public API. The raw code is also logged through THREAD_LOG, which is a debug-only diagnostic and not part of the interface.
Definition in file thread_posix.c.