CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2021/02/15 02:35:59
Modified files: sys/kern : kern_exit.c kern_fork.c kern_sig.c sys/sys : proc.h Log message: 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@