Updated TODO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30344 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
9d7f0c336a
commit
1c800aa1f9
@ -622,8 +622,8 @@ send_signal_etc(pid_t id, uint signal, uint32 flags)
|
|||||||
GRAB_THREAD_LOCK();
|
GRAB_THREAD_LOCK();
|
||||||
}
|
}
|
||||||
|
|
||||||
// ToDo: maybe the scheduler should only be invoked if there is reason to do it?
|
// TODO: The scheduler should only be invoked if there is reason to do it
|
||||||
// (ie. deliver_signal() moved some threads in the running queue?)
|
// (ie. deliver_signal() moved some threads in the running queue)!
|
||||||
if ((flags & (B_DO_NOT_RESCHEDULE | SIGNAL_FLAG_TEAMS_LOCKED)) == 0)
|
if ((flags & (B_DO_NOT_RESCHEDULE | SIGNAL_FLAG_TEAMS_LOCKED)) == 0)
|
||||||
scheduler_reschedule();
|
scheduler_reschedule();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user