
3 Aug
2005
3 Aug
'05
6:13 a.m.
Jonathan Turkanis wrote:
Have you considered using call_once: http://www.boost.org/doc/html/call_once.html?
If thread A enters call_once, and then thread B enters call_once before thread A exits, will thread B block waiting for A to finish or will it just return immediately?
-Jason