Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/libs/
Dmutex.c76 struct mutex_waiter_t *wt = NULL; in mutex_unlock() local
80 wt = container_of(list_next(&lock->wait_list), struct mutex_waiter_t, list); in mutex_unlock()
83 if (wt != NULL) in mutex_unlock()
84 list_del(&wt->list); in mutex_unlock()
89 if (wt != NULL) in mutex_unlock()
91 process_wakeup(wt->pcb); in mutex_unlock()
92 kfree(wt); in mutex_unlock()
/DragonOS-0.1.2/kernel/src/ktest/
Dtest-mutex.c63 … struct mutex_waiter_t *wt = container_of(list_next(&mtx.wait_list), struct mutex_waiter_t, list); in ktest_mutex_case1() local
64 assert(wt->pcb->pid == pid); in ktest_mutex_case1()