posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER (regular...

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).

From-SVN: r101769
This commit is contained in:
Andrew Haley 2005-07-08 14:04:22 +00:00 committed by Andrew Haley
parent c510f071aa
commit 5e180a3f54
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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).
2005-07-07 Aaron Luchko <aluchko@redhat.com>
* gnu/classpath/jdwp/util/Signature.java

View File

@ -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, &param);
pthread_setschedparam (data->thread, SCHED_OTHER, &param);
}
#endif
}