Changeset 897fd8f1 in mainline for kernel/generic/src/proc/thread.c
- Timestamp:
- 2017-12-19T18:18:15Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 55b56f4
- Parents:
- 7f11dc6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/thread.c
r7f11dc6 r897fd8f1 548 548 * 549 549 * Threads that are blocked waiting for a synchronization primitive 550 * are woken up with a return code of E SYNCH_INTERRUPTEDif the550 * are woken up with a return code of EINTR if the 551 551 * blocking call was interruptable. See waitq_sleep_timeout(). 552 552 * … … 653 653 irq_spinlock_unlock(&thread->lock, true); 654 654 655 return waitq_sleep_timeout(&thread->join_wq, usec, flags );655 return waitq_sleep_timeout(&thread->join_wq, usec, flags, NULL); 656 656 } 657 657 … … 700 700 waitq_initialize(&wq); 701 701 702 (void) waitq_sleep_timeout(&wq, usec, SYNCH_FLAGS_NON_BLOCKING );702 (void) waitq_sleep_timeout(&wq, usec, SYNCH_FLAGS_NON_BLOCKING, NULL); 703 703 } 704 704
Note:
See TracChangeset
for help on using the changeset viewer.