From 66d0fee031ed44d54ee9e1a183fbe75c37a6e158 Mon Sep 17 00:00:00 2001 From: davidxu Date: Thu, 27 Apr 2006 08:18:23 +0000 Subject: - Use same priority range returned by kernel's sched_get_priority_min() and sched_get_priority_max() syscalls. - Remove unused fields from structure pthread_attr. --- lib/libthr/thread/thr_mutexattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libthr/thread/thr_mutexattr.c') diff --git a/lib/libthr/thread/thr_mutexattr.c b/lib/libthr/thread/thr_mutexattr.c index c77d946..7244c58 100644 --- a/lib/libthr/thread/thr_mutexattr.c +++ b/lib/libthr/thread/thr_mutexattr.c @@ -225,7 +225,7 @@ _pthread_mutexattr_setprotocol(pthread_mutexattr_t *mattr, int protocol) ret = EINVAL; else { (*mattr)->m_protocol = protocol; - (*mattr)->m_ceiling = THR_MAX_PRIORITY; + (*mattr)->m_ceiling = THR_MAX_RR_PRIORITY; } return(ret); } -- cgit v1.1