Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Apr 2001 11:23:15 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        smp@FreeBSD.org
Subject:   pfind patch
Message-ID:  <XFMail.010404112315.jhb@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hey gang,

I've changed pfind() and zipfind() so that they lock the process returned (if
they do not return NULL) to ensure that the process we search for doesn't
change out from under us until we are finished messing with it after looking it
up.  The patch is at http://www.FreeBSD.org/~jhb/patches/pfind.patch.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010404112315.jhb>