Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/libs/
Dmutex.c77 struct mutex_waiter_t *wt = NULL; in mutex_unlock() local
81 wt = container_of(list_next(&lock->wait_list), struct mutex_waiter_t, list); in mutex_unlock()
84 if (wt != NULL) in mutex_unlock()
85 list_del(&wt->list); in mutex_unlock()
90 if (wt != NULL) in mutex_unlock()
92 process_wakeup(wt->pcb); in mutex_unlock()
93 kfree(wt); in mutex_unlock()
/DragonOS-0.1.7/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()