OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Owain Ainsworth (ogacvs.openbsd.org)
Date: Wed Nov 28 2007 - 14:07:37 CST


CVSROOT: /cvs
Module name: src
Changes by: ogacvs.openbsd.org 2007/11/28 13:07:36

Modified files:
        sys/sys : proc.h
        sys/kern : kern_synch.c

Log message:
Add msleep. This is identical to tsleep but it takes a mutex as a
parameter. The mutex is unlocked just before sleep and relocked after
unless P_NORELOCK is in flags, in which case it is left unlocked.

ok art.