Lines Matching refs:threadsCount
51 …threadsCount.StoreRelaxed( MT::Clamp(workerThreadsCount, (uint32)1, (uint32)MT_MAX_THREAD_COUNT) ); in TaskScheduler()
55 …threadsCount.StoreRelaxed( (uint32)MT::Clamp(Thread::GetNumberOfHardwareThreads() - 1, 1, (int)MT_… in TaskScheduler()
141 threadsCount.Store(0); in JoinWorkerThreads()
451 int32 totalThreadsCount = context.taskScheduler->threadsCount.LoadRelaxed(); in SchedulerFiberMain()
636 int bucketIndex = ((roundRobinIndex + i) % threadsCount.LoadRelaxed()); in RunTasksImpl()
698 int bucketIndex = roundRobinThreadIndex.IncFetch() % threadsCount.LoadRelaxed(); in RunTasksImpl()
810 if (threadsCount.LoadRelaxed() <= (int32)minWorkersCount) in IsTaskStealingDisabled()
820 return threadsCount.LoadRelaxed(); in GetWorkersCount()
826 int32 threadsCount = GetWorkersCount(); in IsWorkerThread() local
827 for (int32 i = 0; i < threadsCount; i++) in IsWorkerThread()
902 void TaskScheduler::NotifyThreadsCreated(uint32 threadsCount) in NotifyThreadsCreated() argument
906 eventListener->OnThreadsCreated(threadsCount); in NotifyThreadsCreated()