diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2021-02-15 09:36:00 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2021-02-15 09:36:00 +0000 |
commit | 0ea81fc761fae4ef7c99dc61bf01bd3a4a72b1e9 (patch) | |
tree | c2ee2254e9e940383c7d317e9b8f2e2c636ff594 /distrib | |
parent | 395c8f90612c3637dd665f1cee30509dd634d3c9 (diff) |
Move single_thread_set() out of KERNEL_LOCK().
Use the SCHED_LOCK() to ensure `ps_thread' isn't being modified by a sibling
when entering tsleep(9) w/o KERNEL_LOCK().
ok visa@
Diffstat (limited to 'distrib')
0 files changed, 0 insertions, 0 deletions