On 08-Aug-01 Evan Sarmiento wrote:
> Hello,
> 
> I was looking through kern_proc.c, and I noticed that unlike pfind,
> pgfind does not lock the pointer to a structure being returned,
> further investigating showed that the definition fo the pgrp
> structure itself, in proc.h, doesn't have a mtx struct defined
> within it either.
> 
> My proposal is to create a patch that would create pgrp locking,
> by adding a mtx to pgrp, and then a MACRO which locks
> and unlocks that structure, like PROC_LOCK()
> 
> Would this create any problems?

Seigo Tanimura-san is already working on such a patch.  [EMAIL PROTECTED]

-- 

John Baldwin <[EMAIL PROTECTED]> -- 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to