mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-11 03:50:27 +08:00
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:
parent
c510f071aa
commit
5e180a3f54
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user