Functions that use a great amount of CPU should release the lock too, to allow other threads to run on the other CPU. But maybe that counts as blocking...
/ Mirar
Previous text:
2003-06-18 00:04: Subject: Re: Pike localtime(), threads safe and low level localtime() / localtime_r() ?
I say it definitely shouldn't. Only functions that block should release the mutex, and the localtime functions doesn't block.
/ Martin Stjernholm, Roxen IS