Rev 2914 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2914 | Rev 2916 | ||
---|---|---|---|
Line 404... | Line 404... | ||
404 | * |
404 | * |
405 | * This is the internal SMP- and IRQ-unsafe version of waitq_wakeup(). It |
405 | * This is the internal SMP- and IRQ-unsafe version of waitq_wakeup(). It |
406 | * assumes wq->lock is already locked and interrupts are already disabled. |
406 | * assumes wq->lock is already locked and interrupts are already disabled. |
407 | * |
407 | * |
408 | * @param wq Pointer to wait queue. |
408 | * @param wq Pointer to wait queue. |
409 | * @param mode If mode is WAKEUP_FIRST, then the longest waitingi |
409 | * @param mode If mode is WAKEUP_FIRST, then the longest waiting |
410 | * thread, if any, is woken up. If mode is WAKEUP_ALL, then |
410 | * thread, if any, is woken up. If mode is WAKEUP_ALL, then |
411 | * all waiting threads, if any, are woken up. If there are |
411 | * all waiting threads, if any, are woken up. If there are |
412 | * no waiting threads to be woken up, the missed wakeup is |
412 | * no waiting threads to be woken up, the missed wakeup is |
413 | * recorded in the wait queue. |
413 | * recorded in the wait queue. |
414 | */ |
414 | */ |