diff options
author | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-08 14:04:22 +0000 |
---|---|---|
committer | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-08 14:04:22 +0000 |
commit | b9193eb6a321fbd6601fcd2bfd1f416eb8b36b2c (patch) | |
tree | 67fa264eada5bbec617177a3f8f06e80a1ab7957 /libjava/posix-threads.cc | |
parent | ba534bbb26c55f4b46c580895d273520983c1923 (diff) | |
download | gcc-b9193eb6a321fbd6601fcd2bfd1f416eb8b36b2c.tar.gz |
2005-07-08 Andrew Haley <aph@redhat.com>
* 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
Diffstat (limited to 'libjava/posix-threads.cc')
-rw-r--r-- | libjava/posix-threads.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |