Boost logo

Threads-Devel :

From: David Abrahams (dave_at_[hidden])
Date: 2006-03-06 12:47:05


Anthony Williams <anthony_at_[hidden]> writes:

> You're probably right. I started down this line of thought when
> rewriting boost::call_once, and noticed that mutexes at global scope
> are used everywhere, and yet they are not thread-safe for
> initialization. Maybe I could do with some perspective.
>

call_once relies on mutexes at global scope? I suppose these are
platform mutexes, rather than boost mutexes, then?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Threads-Devel list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk