Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 1998 08:34:51 +1000 (EST)
From:      John Birrell <jb@cimlogic.com.au>
To:        alk@pobox.com
Cc:        current@FreeBSD.ORG
Subject:   Re: pthread_mutex_lock
Message-ID:  <199804222234.IAA00643@cimlogic.com.au>
In-Reply-To: <199804222228.RAA15757@compound.east.sun.com> from Tony Kimball at "Apr 22, 98 05:28:54 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Tony Kimball wrote:
> 
> I was of the impression that pthread_mutex_lock was supposed to block?
> The man page on current says it does not.  Am I confused?  Is the 
> man page confused?  Or is it a discrepancy between implementation
> and spec, documented by the man page?

It blocks. pthread_mutex_trylock is the one that doesn't block.
Which man page says otherwise?

-- 
John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/
CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137

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?199804222234.IAA00643>