can zero, will zero
This commit is contained in:
parent
c54b8b69ed
commit
cbf1d02433
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
||||||
# define sched_yield() \
|
# define sched_yield() \
|
||||||
# do{ struct timespec ts; \
|
# do{ struct timespec ts; \
|
||||||
# ts.tv_sec = 0; \
|
# ts.tv_sec = 0; \
|
||||||
# ts.tv_nsec = 10; \
|
# ts.tv_nsec = 0; \
|
||||||
# nanosleep(&ts, 0); \
|
# nanosleep(&ts, 0); \
|
||||||
# }while(0)
|
# }while(0)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue