Lines Matching refs:g_TaskCount
415 atomic_t g_TaskCount; variable
433 ++g_TaskCount; in operator ()()
444 g_TaskCount = 0; in ResetGlobals()
499 while ( g_MaxConcurrency > 1 && g_TaskCount == 0 ) in TestManualCancellationWithFunctor()
502 g_ExecutedAtCancellation = int(g_TaskCount); in TestManualCancellationWithFunctor()
505 …CHECK_MESSAGE( g_TaskCount <= NUM_GROUPS * NUM_CHORES, "Too many tasks reported. The test is broke… in TestManualCancellationWithFunctor()
506 …CHECK_MESSAGE( g_TaskCount < NUM_GROUPS * NUM_CHORES, "No tasks were cancelled. Cancellation model… in TestManualCancellationWithFunctor()
507 …CHECK_MESSAGE( g_TaskCount <= g_ExecutedAtCancellation + utils::ConcurrencyTracker::PeakParallelis… in TestManualCancellationWithFunctor()
575 while (g_MaxConcurrency > 1 && g_TaskCount == 0) in Launch()
580 …CHECK_MESSAGE(g_TaskCount <= NUM_GROUPS * NUM_CHORES, "Too many tasks reported. The test is broken… in Finish()
581 …CHECK_MESSAGE(g_TaskCount < NUM_GROUPS * NUM_CHORES, "No tasks were cancelled. Cancellation model … in Finish()
582 …CHECK_MESSAGE(g_TaskCount <= g_ExecutedAtCancellation + g_MaxConcurrency, "Too many tasks survived… in Finish()