Rev 2446 | Rev 3181 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2446 | Rev 2451 | ||
---|---|---|---|
Line 413... | Line 413... | ||
413 | } |
413 | } |
414 | _waitq_wakeup_unsafe(&THREAD->join_wq, |
414 | _waitq_wakeup_unsafe(&THREAD->join_wq, |
415 | WAKEUP_FIRST); |
415 | WAKEUP_FIRST); |
416 | spinlock_unlock(&THREAD->join_wq.lock); |
416 | spinlock_unlock(&THREAD->join_wq.lock); |
417 | 417 | ||
418 | THREAD->state = JoinMe; |
418 | THREAD->state = Lingering; |
419 | spinlock_unlock(&THREAD->lock); |
419 | spinlock_unlock(&THREAD->lock); |
420 | } |
420 | } |
421 | break; |
421 | break; |
422 | 422 | ||
423 | case Sleeping: |
423 | case Sleeping: |