From b9193eb6a321fbd6601fcd2bfd1f416eb8b36b2c Mon Sep 17 00:00:00 2001 From: aph Date: Fri, 8 Jul 2005 14:04:22 +0000 Subject: 2005-07-08 Andrew Haley * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER (regular, non-realtime scheduling), not SCHED_RR (realtime, round-robin). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101769 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/posix-threads.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libjava/posix-threads.cc') diff --git a/libjava/posix-threads.cc b/libjava/posix-threads.cc index 91da25cf38d..f77e2f4b75a 100644 --- a/libjava/posix-threads.cc +++ b/libjava/posix-threads.cc @@ -343,7 +343,7 @@ _Jv_ThreadSetPriority (_Jv_Thread_t *data, jint prio) struct sched_param param; param.sched_priority = prio; - pthread_setschedparam (data->thread, SCHED_RR, ¶m); + pthread_setschedparam (data->thread, SCHED_OTHER, ¶m); } #endif } -- cgit v1.2.1