diff options
author | jhb <jhb@FreeBSD.org> | 2004-07-13 20:49:13 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-07-13 20:49:13 +0000 |
commit | 4a50f485c4356df4ca2c7b2684af05c53c8c7e5c (patch) | |
tree | 6ede2aa646e9671635fe201d061b8a5dee4d9219 /lib/libpthread/thread/thr_cancel.c | |
parent | b0e68741889ab66096103a2dec2219bbde3c21c6 (diff) | |
download | FreeBSD-src-4a50f485c4356df4ca2c7b2684af05c53c8c7e5c.zip FreeBSD-src-4a50f485c4356df4ca2c7b2684af05c53c8c7e5c.tar.gz |
Set TDF_NEEDRESCHED when a higher priority thread is scheduled in
sched_add() rather than just doing it in sched_wakeup(). The old
ithread preemption code used to set NEEDRESCHED unconditionally if it
didn't preempt which masked this bug in SCHED_4BSD.
Noticed by: jake
Reported by: kensmith, marcel
Diffstat (limited to 'lib/libpthread/thread/thr_cancel.c')
0 files changed, 0 insertions, 0 deletions