On Thursday 01 June 2006 00:27, Gleb Smirnoff wrote: > On Wed, May 31, 2006 at 11:23:01AM -0400, John Baldwin wrote: > J> Nah, that was phk's other timekeeping code to see which timeouts take a long > J> time to execute. The THREAD_NO_SLEEPING() stuff was added just before 6.0 > J> was released and replaced a couple of "special" mutexes that were held just > J> to provoke WITNESS warnings. > > To take a long time to execute one doesn't need to sleep, it can also do > a lot of job.
Yes, but sleeping in softclock leads to deadlock much more quickly than a long-running callout. -- John Baldwin _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"