On Thursday 26 April 2007 03:36:33 pm Hans Petter Selasky wrote:
> Are there any comments on integrating this functionality into msleep(), and 
> adding mtx_drop_recurse() and mtx_pickup_recurse() to the FreeBSD kernel?

Nope.  Fix the code to not recurse instead, or to know it has a recursed mutex 
and make sure it doesn't call mtx_sleep() or cv_wait() with a recursed lock.  
It's not that hard to do.  The rest of the kernel manages that restriction 
fine.

-- 
John Baldwin
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to