can zero, will zero
This commit is contained in:
parent
c54b8b69ed
commit
cbf1d02433
@ -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…
Reference in New Issue
Block a user