Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

boost::condition

0 views
Skip to first unread message

e2wugui

unread,
Jul 31, 2002, 10:08:50 AM7/31/02
to
i got a warning: DONOT use recursive_mutex with pthread_con_wait.


why does boost::condition use recursive_mutex?

a full presence only?

Alexander Terekhov

unread,
Jul 31, 2002, 4:01:55 PM7/31/02
to

e2wugui wrote:
>
> i got a warning: DONOT use recursive_mutex with pthread_con_wait.

You got it wrong... warning: DON'T USE RECURSIVE MUTEXES.

> why does boost::condition use recursive_mutex?

Forget it. AFAICS, boost::condition's use of >>boost::recursive_mutex<<
is totally broken [and its utterly brain-dead/java-like N->0 ``spin out
feature'' aside for a moment], to begin with.

As for posix::condition/posix::recursive_mutex...

http://groups.google.com/groups?selm=3A66D6BF.76AD7E3A%40compaq.com
(Subject: Re: Recursive mutex lock)

regards,
alexander.

0 new messages