no sharps on c lines
This commit is contained in:
parent
e4c74b87b6
commit
b058fb6855
1 changed files with 5 additions and 5 deletions
|
|
@ -7,11 +7,11 @@
|
|||
|
||||
#if defined(__NetBSD__) || (defined(__OpenBSD__) && OpenBSD <= 200511)
|
||||
# define sched_yield() \
|
||||
# do{ struct timespec ts; \
|
||||
# ts.tv_sec = 0; \
|
||||
# ts.tv_nsec = 0; \
|
||||
# nanosleep(&ts, 0); \
|
||||
# }while(0)
|
||||
do{ struct timespec ts; \
|
||||
ts.tv_sec = 0; \
|
||||
ts.tv_nsec = 0; \
|
||||
nanosleep(&ts, 0); \
|
||||
}while(0)
|
||||
#endif
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue