Rev 2285 | Rev 2446 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2285 | Rev 2310 | ||
|---|---|---|---|
| Line 409... | Line 409... | ||
| 409 | spinlock_lock(&THREAD->lock); |
409 | spinlock_lock(&THREAD->lock); |
| 410 | DEADLOCK_PROBE(p_joinwq, |
410 | DEADLOCK_PROBE(p_joinwq, |
| 411 | DEADLOCK_THRESHOLD); |
411 | DEADLOCK_THRESHOLD); |
| 412 | goto repeat; |
412 | goto repeat; |
| 413 | } |
413 | } |
| 414 | _waitq_wakeup_unsafe(&THREAD->join_wq, false); |
414 | _waitq_wakeup_unsafe(&THREAD->join_wq, |
| - | 415 | WAKEUP_FIRST); |
|
| 415 | spinlock_unlock(&THREAD->join_wq.lock); |
416 | spinlock_unlock(&THREAD->join_wq.lock); |
| 416 | 417 | ||
| 417 | THREAD->state = Undead; |
418 | THREAD->state = Undead; |
| 418 | spinlock_unlock(&THREAD->lock); |
419 | spinlock_unlock(&THREAD->lock); |
| 419 | } |
420 | } |