
6 Oct
2006
6 Oct
'06
9:08 a.m.
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.