Home
last modified time | relevance | path

Searched refs:waiter (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.7/kernel/src/libs/
Dmutex.c41 …struct mutex_waiter_t *waiter = (struct mutex_waiter_t *)kzalloc(sizeof(struct mutex_waiter_t), 0); in mutex_lock() local
42 if (waiter == NULL) in mutex_lock()
49 waiter->pcb = current_pcb; in mutex_lock()
50 list_init(&waiter->list); in mutex_lock()
51 list_append(&lock->wait_list, &waiter->list); in mutex_lock()