1.3.12: pthread mutex - second lock won't block.
Robert Collins
robert.collins@syncretize.net
Sat Jul 6 18:26:00 GMT 2002
----- Original Message -----
From: "Clemens Fuchslocher" <clfuit00@fht-esslingen.de>
To: <cygwin@cygwin.com>
Sent: Sunday, July 07, 2002 8:40 AM
Subject: 1.3.12: pthread mutex - second lock won't block.
> hi,
>
> If I lock a fast mutex twice, it normaly should block forever.
Huh? You need to read the pthread spec at least once.
Cygwin's default pthread mutex type is RECURSIVE. And the pthread mutex
attribute calls will reject any 'normal' or 'errorchecking' mutex type
requests. It's fully in the pthread spec is this regard.
If your application is assuming that the default mutex type is non
recursive, it is a bug in your code.
Rob
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list