MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / __TBB_machine_lockbyte

Function __TBB_machine_lockbyte

benchmarks/tbb/tbb_misc.cpp:278–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276 to serious performance regression with ICC. So keep it out-of-line.
277 */
278extern "C" intptr_t __TBB_machine_lockbyte( volatile unsigned char& flag ) {
279 tbb::internal::atomic_backoff backoff;
280 while( !__TBB_TryLockByte(flag) ) backoff.pause();
281 return 0;
282}
283#endif

Callers

nothing calls this directly

Calls 2

__TBB_TryLockByteFunction · 0.85
pauseMethod · 0.80

Tested by

no test coverage detected