From 8ef6f1728a6d6c41df5a734efb0ac4a116bd8e03 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Wed, 26 Oct 2005 18:41:44 +0000 Subject: [PATCH] Added test for DONT_USE_POSIX_THREAD_PRIORITY_SCHEDULING --- src/libCom/osi/os/posix/osdThread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libCom/osi/os/posix/osdThread.c b/src/libCom/osi/os/posix/osdThread.c index e20c9b6e0..de987549e 100644 --- a/src/libCom/osi/os/posix/osdThread.c +++ b/src/libCom/osi/os/posix/osdThread.c @@ -46,8 +46,9 @@ static int mutexLock(pthread_mutex_t *id) } } -/* Until this can be demonstrated to work leave it undefined*/ +#if defined DONT_USE_POSIX_THREAD_PRIORITY_SCHEDULING #undef _POSIX_THREAD_PRIORITY_SCHEDULING +#endif typedef struct commonAttr{ pthread_attr_t attr;