summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-27 17:42:27 +0000
committernw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-27 17:42:27 +0000
commit7436235d2b14b5fd6cbe3c227f9f64244314dfa8 (patch)
tree54e7c4dd8dd85d239da99259e6f9c6caaea62dfb
parent0ff794c5bfbed55a7a56708e0b41816b82b1ac88 (diff)
downloadATCD-7436235d2b14b5fd6cbe3c227f9f64244314dfa8.tar.gz
*** empty log message ***
-rw-r--r--ace/config-freebsd-pthread.h11
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