Lines Matching refs:thread
70 fssh_thread_id thread = fssh_find_thread(NULL);
72 if (thread != lock->holder) {
77 lock->holder = thread;
87 fssh_thread_id thread = fssh_find_thread(NULL);
89 if (thread != lock->holder) {
95 lock->holder = thread;
106 fssh_panic("recursive_lock %p unlocked by non-holder thread!\n", lock);
117 fssh_thread_id thread)
122 lock->holder = thread;
178 fssh_panic("mutex_lock failure: mutex %p (sem = 0x%x) acquired twice by thread 0x%x\n", mutex, (int)mutex->sem, (int)me);
191 fssh_panic("mutex_unlock failure: thread 0x%x is trying to release mutex %p (current holder 0x%x)\n",
201 fssh_mutex_transfer_lock(fssh_mutex *mutex, fssh_thread_id thread)
203 mutex->holder = thread;