sys_futex.c | 62 * futex(&lock, FUTEX_WAIT, v | 2, NULL, NULL, 0, 86 * For a simple implementation, futex(FUTEX_WAIT) could queue 89 * FUTEX_WAKE could just wake every FUTEX_WAIT in the system. 138 * -> futex_wait::fw_lock only one at a time 139 * futex_wait::fw_lock only one at a time 179 TAILQ_HEAD(, futex_wait) fx_queue; 182 LIST_HEAD(, futex_wait) fx_abortlist; 187 * struct futex_wait 193 struct futex_wait { struct 197 TAILQ_ENTRY(futex_wait) fw_entry; /* queue lock * 932 futex_wait(struct futex_wait *fw, const struct timespec *deadline, function in typeref:typename:int [all...] |