Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2004-01-27 10:38:47


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.

regards,
alexander.


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