Changeset 7c3fb9b in mainline for kernel/generic/src/proc/thread.c
- Timestamp:
- 2018-05-17T08:29:01Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/thread.c
rfac0ac7 r7c3fb9b 621 621 void thread_sleep(uint32_t sec) 622 622 { 623 /* Sleep in 1000 second steps to support 624 full argument range */ 623 /* 624 * Sleep in 1000 second steps to support 625 * full argument range 626 */ 625 627 while (sec > 0) { 626 628 uint32_t period = (sec > 1000) ? 1000 : sec;
Note:
See TracChangeset
for help on using the changeset viewer.