diff options
-rw-r--r-- | ace/config-freebsd-pthread.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/ace/config-freebsd-pthread.h b/ace/config-freebsd-pthread.h index 0f2b24658c7..9708973eda4 100644 --- a/ace/config-freebsd-pthread.h +++ b/ace/config-freebsd-pthread.h @@ -1,5 +1,5 @@ /* -*- C++ -*- */ -// config-freebsd-pthread.h +// $Id$ // ***** This configuration file is still under debugging. ***** // ***** It still doesn't work quite the way it expected to. ***** @@ -25,6 +25,15 @@ #define ACE_HAS_CHARPTR_DL #define ACE_USES_ASM_SYMBOL_IN_DLSYM +// sched.h still not fully support on FreeBSD ? +// this is taken from /usr/src/lib/libc_r/uthread/pthread-private.h +enum schedparam_policy { + SCHED_RR, + SCHED_IO, + SCHED_FIFO, + SCHED_OTHER +}; + // Platform supports POSIX timers via timestruct_t. #define ACE_HAS_POSIX_TIME #define ACE_NEEDS_SYSTIME_H |