Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 1998 23:44:56 -0500 (CDT)
From:      Tony Kimball <alk@pobox.com>
To:        jb@cimlogic.com.au
Subject:   Re: pthread_mutex_lock
Message-ID:  <199804230444.XAA17035@pobox.com>
References:  <199804222228.RAA15757@compound.east.sun.com> <199804222234.IAA00643@cimlogic.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoth John Birrell on Thu, 23 April:
:
: It blocks. pthread_mutex_trylock is the one that doesn't block.
: Which man page says otherwise?

This is amusing.  pthread(3) says otherwise:

     int pthread_mutex_lock(pthread_mutex_t *mutex)
		   Try to lock a mutex, but don't block if the mutex is locked
		   by another thread, including the current thread.

But *only* if I use xemacs 20.3's (manual-entry "pthread(3)").
My apologies for the noise.  The elisp clean-up code is apparently broken.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804230444.XAA17035>