CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2020/03/20 02:14:07
Modified files: sys/kern : kern_fork.c kern_sig.c sys/sys : proc.h Log message: Use atomic operations to update ps_singlecount. This makes single_thread_check() safe to be called without KERNEL_LOCK(). single_thread_wait() needs to use sleep_setup() and sleep_finish() instead of tsleep() to make sure no wakeup() is lost. Input kettenis@, with and OK visa@