summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/proc.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2024-11-24 13:05:15 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2024-11-24 13:05:15 +0000
commit553b2732af6400a29a0f029a64cb3ab21c75b9a8 (patch)
treecccd662f8d759034c4945caa38a8c5233af16065 /usr.sbin/httpd/proc.c
parentfb6907be911e59f6ed1874a29f9e4e9d02029337 (diff)
Add KASSERT on P_WSLEEP in setrunqueue() and sched_chooseproc().HEADmastercvs/HEAD
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 'usr.sbin/httpd/proc.c')
0 files changed, 0 insertions, 0 deletions