Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-01-29 09:06:16


On Tuesday 29 January 2002 07:56 am, you wrote:
> >The circumstances under which this macro is tested is a bit strange.
>
> Looking
>
> >at its testcase, boost_has_pthread_ma_gt.cxx, one isn't sure whether we're
> >
> >testing for the existence of pthread_mutexattr_settype or
> >pthread_mutexattr_gettype. It turns out that there are platforms where one
> >
> >exists but the other does not (FreeBSD 3.4 has the "set" but not the
>
> "get").
>
> Looks more like I've overspecified the test case - the thread lib only uses
> pthread_mutexattr_settype, so I guess that's all we should test.

Done. I've removed the misnamed boost_has_pthread_ma_gt.cxx, and put a
corrected boost_has_pthread_ma_st.cxx in its place. The additions to
config/platform/bsd.hpp for BOOST_HAS_PTHREAD_MUTEXATTR_GETTYPE are no longer
necessary.

        Doug


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