|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2006-10-06 05:08:11
Roland,
I've only scanned over your code - and I think this is a good idea, and a
step in the right direction- but I did notice that you needed two calls to
call_once? One of the gripes I've had about call_once was that it was
rather a heavyweight call: is this still the case? Do you have any feeling
for how efficient this approach is compared to say a statically initialised
mutex (assuming that's what you want) ?
Thanks,
John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk