add code to provide simple wait condition handling.
authordlg <dlg@openbsd.org>
Thu, 14 Dec 2017 00:41:58 +0000 (00:41 +0000)
committerdlg <dlg@openbsd.org>
Thu, 14 Dec 2017 00:41:58 +0000 (00:41 +0000)
commit0d158b2bc03d5e86f4220bdfdd06967891b50c6f
tree1f29dedcc0189288565eb35ea80213825fb1f806
parent521a1db4e33942a7e84d8f72cd535182283875ad
add code to provide simple wait condition handling.

this will be used to replace the bare sleep_state handling in a
bunch of places, starting with the barriers.
share/man/man9/Makefile
share/man/man9/cond_init.9 [new file with mode: 0644]
sys/kern/kern_synch.c
sys/sys/proc.h
sys/sys/systm.h