Files

9 lines
157 B
C
Raw Permalink Normal View History

2026-07-19 13:31:22 +01:00
#include <magenta/futex.h>
#include <pthread.h>
int pthread_mutex_unlock(pthread_mutex_t *mut)
{
mut->__v = 0;
futex_wake(&mut->__v, 1, FUTEX_PRIVATE);
}