diff options
author | jeff <jeff@FreeBSD.org> | 2004-08-12 07:56:33 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2004-08-12 07:56:33 +0000 |
commit | 8745e98dd003cc004355fe2a66dd596b891733d8 (patch) | |
tree | 83b1ca2f8a7e03639127cb931b89f4fb5a66ef05 /lib/libpthread/thread/thr_attr_getinheritsched.c | |
parent | e1b6157050106fc60eba1771fb4ba68fdca56b1c (diff) | |
download | FreeBSD-src-8745e98dd003cc004355fe2a66dd596b891733d8.zip FreeBSD-src-8745e98dd003cc004355fe2a66dd596b891733d8.tar.gz |
- Introduce a new flag KEF_HOLD that prevents sched_add() from doing a
migration. Use this in sched_prio() and sched_switch() to stop us from
migrating threads that are in short term sleeps or are runnable. These
extra migrations were added in the patches to support KSE.
- Only set NEEDRESCHED if the thread we're adding in sched_add() is a
lower priority and is being placed on the current queue.
- Fix some minor whitespace problems.
Diffstat (limited to 'lib/libpthread/thread/thr_attr_getinheritsched.c')
0 files changed, 0 insertions, 0 deletions