mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 14:24:43 +00:00
9 lines
399 B
C
Vendored
9 lines
399 B
C
Vendored
#include "pthread_impl.h"
|
|
|
|
int pthread_cond_wait(pthread_cond_t *restrict c, pthread_mutex_t *restrict m)
|
|
{
|
|
/* Because there is no other thread that can signal us, this is a deadlock immediately.
|
|
The other possible choice is to return immediately (spurious wakeup), but that is likely to
|
|
just result in the program spinning forever on a condition that cannot become true. */
|
|
__builtin_trap();
|
|
}
|