[NetBSD] Improvements in forking, threading, and signal code reddit / BSD