Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2004-01-27 19:16:00


Howard Hinnant wrote:
>
> On Jan 27, 2004, at 10:38 AM, Alexander Terekhov wrote:
>
> > Martin Taylor wrote:
> >>
> >> Hi
> >>
> >> I would like to put forward an implementation of a lightweight mutex
> >> for MacOS.
> >> I have tested it with shared_ptr_mt_test.cpp without problem.
> >
> > You don't have proper memory barriers for MP-safety. Abusing the
> > scheduler is also not good.
>
> Do you have any specific suggestions which would make this design at
> least as good as that in lwm_gcc.hpp?

http://www.boost.org/boost/detail/lwm_gcc.hpp is also broken. Do you
have "futexes" on Mac? If so, you might want to take a look at

http://listman.redhat.com/archives/phil-list/2003-October/msg00029.html
http://listman.redhat.com/archives/phil-list/2003-October/msg00030.html

And, perhaps, also

http://groups.google.com/groups?selm=3FA61F96.223FDE85%40web.de

regards,
alexander.

P.S. http://groups.google.com/groups?selm=3FE2E91D.E600BC7E%40web.de


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