| 1 | #include "pthread_impl.h" |
| 2 | |
| 3 | int pthread_cond_wait(pthread_cond_t *restrict c, pthread_mutex_t *restrict m) |
| 4 | { |
| 5 | 	/* Because there is no other thread that can signal us, this is a deadlock immediately. |
| 6 | 	The other possible choice is to return immediately (spurious wakeup), but that is likely to |
| 7 | 	just result in the program spinning forever on a condition that cannot become true. */ |
| 8 | 	__builtin_trap(); |
| 9 | } |