sched_yield netbsd (anselm garbe)

This commit is contained in:
rsc 2005-11-16 00:25:15 +00:00
parent ed12a647df
commit 86c2ab2caf

View file

@ -900,7 +900,8 @@ extern int post9pservice(int, char*);
# endif # endif
#endif #endif
#if defined(__OpenBSD__) /* this really shouldn't be here */
#if defined(__OpenBSD__) || (defined(__NetBSD__) && !defined(sched_yield))
#define sched_yield() \ #define sched_yield() \
do { \ do { \
struct timespec ts; \ struct timespec ts; \