PERFORCE change 35749 for review

John Baldwin jhb at FreeBSD.org
Fri Aug 8 11:29:52 PDT 2003


On 07-Aug-2003 Sam Leffler wrote:
> http://perforce.freebsd.org/chv.cgi?CH=35749
> 
> Change 35749 by sam at sam_ebb on 2003/08/07 15:29:55
> 
>       o must unlock before destroying mutex
>       o must lock rt_gwroute before freeing when cleaning up on error

It's ok to own a mutex when you destroy it.  It's actually fairly desirable in
fact since it is a rather foolproof way of making sure someone eles doesn't own
it.  Of course, they could still be blocked on it.. :-/

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the p4-projects mailing list