
12 Sep
2005
12 Sep
'05
11:51 p.m.
How does call_once work? Does it maintain a separate mutex for each unique function pointer passed in, or is there only one global mutex shared by all calls to call_once? In other words, can call_once(foo, flag) block call_once(bar, flag2)? -Jason