summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/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.bin/tmux/proc.c
parentfb6907be911e59f6ed1874a29f9e4e9d02029337 (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 'usr.bin/tmux/proc.c')
0 files changed, 0 insertions, 0 deletions