Changeset 5110d0a in mainline for kernel/generic/src/synch/waitq.c
- Timestamp:
- 2023-02-07T16:02:50Z (15 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7c5320c
- Parents:
- 8a55346
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-06 16:44:26)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-07 16:02:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/waitq.c
r8a55346 r5110d0a 194 194 #define PARAM_NON_BLOCKING(flags, usec) \ 195 195 (((flags) & SYNCH_FLAGS_NON_BLOCKING) && ((usec) == 0)) 196 197 errno_t waitq_sleep(waitq_t *wq) 198 { 199 return waitq_sleep_timeout(wq, SYNCH_NO_TIMEOUT, SYNCH_FLAGS_NONE, NULL); 200 } 196 201 197 202 /** Sleep until either wakeup, timeout or interruption occurs … … 326 331 327 332 interrupts_restore(ipl); 333 } 334 335 errno_t waitq_sleep_unsafe(waitq_t *wq, bool *blocked) 336 { 337 return waitq_sleep_timeout_unsafe(wq, SYNCH_NO_TIMEOUT, SYNCH_FLAGS_NONE, blocked); 328 338 } 329 339
Note:
See TracChangeset
for help on using the changeset viewer.