OSDN Git Service

* gthr-posix.h: Include <unistd.h> for feature tests.
authorthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Oct 2002 18:23:02 +0000 (18:23 +0000)
committerthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Oct 2002 18:23:02 +0000 (18:23 +0000)
commitf9f6f55aa6983fc95ad907cf2de5d635d1a8488c
tree1211af4b64b815810c777f183715ab35af995db0
parent2b7014df344c4d532e0902b0bd4ac800f4172425
* gthr-posix.h: Include <unistd.h> for feature tests.
(sched_get_priority_max, sched_get_priority_min)
(pthread_getschedparam, pthread_setschedparam): Only use
if _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
(__gthread_objc_thread_set_priority): Don't treat all non-zero
returns from sched_get_priority_max and sched_get_priority_min
as an error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58630 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gthr-posix.h