Boost logo

Boost :

From: williamkempf_at_[hidden]
Date: 2001-10-29 18:05:03


--- In boost_at_y..., "Gennadiy E. Rozental" <rogeeff_at_m...> wrote:
> --- In boost_at_y..., williamkempf_at_h... wrote:
> > --- In boost_at_y..., "Gennadiy E. Rozental" <rogeeff_at_m...> wrote:
> > > As I sad, both issues caused by missing -mt.
> > >
> > > ASSERT still exist even with -mt
> >
> > Sorry, I must be dense. Both issues? I see two issues below:
> > pthread_cond_wait() returning 0 instead of an error for timeout
and
> > pthread_equal() not working. If -mt fixes both of these then
what
> > exactly is asserting?
> >
> > Bill Kempf
>
> I had absolutely the same output when I compiled without -mt, and
> after I add -mt I have ony ASSERT in condition.hpp:
>
> Assertion failed: res == 0 || res == ETIMEOUT, file condition.cpp
> line 350.
>
> I checked: res = 22

Thanks, this will help to figure out the problem. I'm not sure how
to figure out what error condition 22 is, however. Any POSIX folks
able to tell me how to find this out?

Bill Kempf


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk