From: Jason Hise (chaos_at_[hidden])
Date: 2005-08-02 23:13:33


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