diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-11-24 13:05:15 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-11-24 13:05:15 +0000 |
commit | 553b2732af6400a29a0f029a64cb3ab21c75b9a8 (patch) | |
tree | cccd662f8d759034c4945caa38a8c5233af16065 /sbin/isakmpd/udp_encap.h | |
parent | fb6907be911e59f6ed1874a29f9e4e9d02029337 (diff) |
Add KASSERT on P_WSLEEP in setrunqueue() and sched_chooseproc().
P_WSLEEP indicates that the thread is still on a CPU executing and
has not yet mi_switched away to sleep. So it is a bug to make such
a thread runnable or even worse try to switch to it.
OK mpi@
Diffstat (limited to 'sbin/isakmpd/udp_encap.h')
0 files changed, 0 insertions, 0 deletions