On 24 October 2003 at 21:23, Steve Alstrin <[EMAIL PROTECTED]> wrote:
> Hum, this doesn't sound fun, however we ran into a condition with recursive > use of mutexs that sounds familiar you might replace any mutex code in mondo > with the following extra "pthread_mutexattr_settype" call. > > pthread_mutexattr_init(&_mutex_attrs); > pthread_mutexattr_settype(&_mutex_attrs, PTHREAD_MUTEX_RECURSIVE_NP); > pthread_mutex_init(&_mutex, &_mutex_attrs); > > You will have to go back to using native threads though. No mutex stuff exists in mondo. The whole of the pthread code in mondo is very small, maybe 1-2 dozen pthread calls. Thanks.... ______________________________________________________________________ GNU Portable Threads (Pth) http://www.gnu.org/software/pth/ Development Site http://www.ossp.org/pkg/lib/pth/ Distribution Files ftp://ftp.gnu.org/gnu/pth/ Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/ User Support Mailing List [EMAIL PROTECTED] Automated List Manager (Majordomo) [EMAIL PROTECTED]