Lines Matching refs:flag
48 …inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTyp…
51 inline void call_once(once_flag& flag, Function f);
53 inline void call_once(once_flag& flag, Function f, T1 p1);
55 inline void call_once(once_flag& flag, Function f, T1 p1, T2 p2);
57 inline void call_once(once_flag& flag, Function f, T1 p1, T2 p2, T3 p3);
71 …friend void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTyp…
74 friend void call_once(once_flag& flag, Function f);
76 friend void call_once(once_flag& flag, Function f, T1 p1);
78 friend void call_once(once_flag& flag, Function f, T1 p1, T2 p2);
80 friend void call_once(once_flag& flag, Function f, T1 p1, T2 p2, T3 p3);
126 …inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTyp… in call_once() argument
130 thread_detail::uintmax_atomic_t const epoch=flag.epoch; in call_once()
137 while(flag.epoch<=being_initialized) in call_once()
139 if(flag.epoch==uninitialized_flag) in call_once()
141 flag.epoch=being_initialized; in call_once()
152 flag.epoch=uninitialized_flag; in call_once()
157 flag.epoch=--thread_detail::once_global_epoch; in call_once()
162 while(flag.epoch==being_initialized) in call_once()
174 inline void call_once(once_flag& flag, Function f) in call_once() argument
178 thread_detail::uintmax_atomic_t const epoch=flag.epoch; in call_once()
185 while(flag.epoch<=being_initialized) in call_once()
187 if(flag.epoch==uninitialized_flag) in call_once()
189 flag.epoch=being_initialized; in call_once()
197 flag.epoch=uninitialized_flag; in call_once()
202 flag.epoch=--thread_detail::once_global_epoch; in call_once()
207 while(flag.epoch==being_initialized) in call_once()
218 inline void call_once(once_flag& flag, Function f, T1 p1) in call_once() argument
222 thread_detail::uintmax_atomic_t const epoch=flag.epoch; in call_once()
229 while(flag.epoch<=being_initialized) in call_once()
231 if(flag.epoch==uninitialized_flag) in call_once()
233 flag.epoch=being_initialized; in call_once()
241 flag.epoch=uninitialized_flag; in call_once()
246 flag.epoch=--thread_detail::once_global_epoch; in call_once()
251 while(flag.epoch==being_initialized) in call_once()
261 inline void call_once(once_flag& flag, Function f, T1 p1, T2 p2) in call_once() argument
265 thread_detail::uintmax_atomic_t const epoch=flag.epoch; in call_once()
272 while(flag.epoch<=being_initialized) in call_once()
274 if(flag.epoch==uninitialized_flag) in call_once()
276 flag.epoch=being_initialized; in call_once()
284 flag.epoch=uninitialized_flag; in call_once()
289 flag.epoch=--thread_detail::once_global_epoch; in call_once()
294 while(flag.epoch==being_initialized) in call_once()
305 inline void call_once(once_flag& flag, Function f, T1 p1, T2 p2, T3 p3) in call_once() argument
309 thread_detail::uintmax_atomic_t const epoch=flag.epoch; in call_once()
316 while(flag.epoch<=being_initialized) in call_once()
318 if(flag.epoch==uninitialized_flag) in call_once()
320 flag.epoch=being_initialized; in call_once()
328 flag.epoch=uninitialized_flag; in call_once()
333 flag.epoch=--thread_detail::once_global_epoch; in call_once()
338 while(flag.epoch==being_initialized) in call_once()
349 inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f) in call_once() argument
353 thread_detail::uintmax_atomic_t const epoch=flag.epoch; in call_once()
360 while(flag.epoch<=being_initialized) in call_once()
362 if(flag.epoch==uninitialized_flag) in call_once()
364 flag.epoch=being_initialized; in call_once()
372 flag.epoch=uninitialized_flag; in call_once()
377 flag.epoch=--thread_detail::once_global_epoch; in call_once()
382 while(flag.epoch==being_initialized) in call_once()
393 …inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(T1) p1) in call_once() argument
397 thread_detail::uintmax_atomic_t const epoch=flag.epoch; in call_once()
404 while(flag.epoch<=being_initialized) in call_once()
406 if(flag.epoch==uninitialized_flag) in call_once()
408 flag.epoch=being_initialized; in call_once()
419 flag.epoch=uninitialized_flag; in call_once()
424 flag.epoch=--thread_detail::once_global_epoch; in call_once()
429 while(flag.epoch==being_initialized) in call_once()
439 …inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(T1) p1… in call_once() argument
443 thread_detail::uintmax_atomic_t const epoch=flag.epoch; in call_once()
450 while(flag.epoch<=being_initialized) in call_once()
452 if(flag.epoch==uninitialized_flag) in call_once()
454 flag.epoch=being_initialized; in call_once()
466 flag.epoch=uninitialized_flag; in call_once()
471 flag.epoch=--thread_detail::once_global_epoch; in call_once()
476 while(flag.epoch==being_initialized) in call_once()
487 …inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(T1) p1… in call_once() argument
491 thread_detail::uintmax_atomic_t const epoch=flag.epoch; in call_once()
498 while(flag.epoch<=being_initialized) in call_once()
500 if(flag.epoch==uninitialized_flag) in call_once()
502 flag.epoch=being_initialized; in call_once()
515 flag.epoch=uninitialized_flag; in call_once()
520 flag.epoch=--thread_detail::once_global_epoch; in call_once()
525 while(flag.epoch==being_initialized) in call_once()