Changeset b7fd2a0 in mainline for kernel/generic/src/synch/waitq.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/waitq.c
r36f0738 rb7fd2a0 268 268 * 269 269 */ 270 int waitq_sleep_timeout(waitq_t *wq, uint32_t usec, unsigned int flags, bool *blocked)270 errno_t waitq_sleep_timeout(waitq_t *wq, uint32_t usec, unsigned int flags, bool *blocked) 271 271 { 272 272 assert((!PREEMPTION_DISABLED) || (PARAM_NON_BLOCKING(flags, usec))); … … 274 274 ipl_t ipl = waitq_sleep_prepare(wq); 275 275 bool nblocked; 276 int rc = waitq_sleep_timeout_unsafe(wq, usec, flags, &nblocked);276 errno_t rc = waitq_sleep_timeout_unsafe(wq, usec, flags, &nblocked); 277 277 waitq_sleep_finish(wq, nblocked, ipl); 278 278 … … 373 373 * 374 374 */ 375 int waitq_sleep_timeout_unsafe(waitq_t *wq, uint32_t usec, unsigned int flags, bool *blocked)375 errno_t waitq_sleep_timeout_unsafe(waitq_t *wq, uint32_t usec, unsigned int flags, bool *blocked) 376 376 { 377 377 *blocked = false;
Note:
See TracChangeset
for help on using the changeset viewer.