Home
last modified time | relevance | path

Searched defs:res (Results 1 – 14 of 14) sorted by relevance

/TaskScheduler/Scheduler/Include/Platform/Posix/
H A DMTMutex.h49 int res = pthread_mutexattr_init(&mutexAttr); in Mutex() local
64 int res = pthread_mutex_destroy(&mutex); in ~Mutex() local
79 int res = pthread_mutex_lock(&mutex); in Lock() local
85 int res = pthread_mutex_unlock(&mutex); in Unlock() local
H A DMTEvent.h86 int res = pthread_cond_destroy( &condition ); in ~Event() local
102 int res = pthread_mutex_init( &mutex, nullptr ); in Create() local
119 int res = pthread_mutex_lock( &mutex ); in Signal() local
149 int res = pthread_mutex_lock( &mutex ); in Reset() local
165 int res = pthread_mutex_lock( &mutex ); in Wait() local
H A DMTFiber.h132 int res = getcontext(&fiberContext); in CreateFromCurrentThreadAndRun() local
153 int res = getcontext(&fiberContext); in Create() local
183 int res = swapcontext(&from.fiberContext, &to.fiberContext); in SwitchTo() local
/TaskScheduler/Scheduler/Source/
H A DMTDefaultAppInterop.cpp124 MW_BOOL res = VirtualProtect(desc.stackMemory, pageSize, MW_PAGE_NOACCESS, &oldProtect); in AllocStack() local
150 int res = mprotect(desc.stackMemory, pageSize, PROT_NONE); in AllocStack() local
164 int res = VirtualFree(desc.stackMemory, 0, MW_MEM_RELEASE); in FreeStack() local
H A DMTScheduler.cpp66 bool res = standartFibersAvailable.TryPush( &context ); in TaskScheduler() local
78 bool res = extendedFibersAvailable.TryPush( &context ); in TaskScheduler() local
92 bool res = availableGroups.TryPush( TaskGroup(i) ); in TaskScheduler() local
164 bool res = false; in RequestFiberContext() local
200 bool res = false; in ReleaseFiberContext() local
707 bool res = context.queue.Add(bucket.tasks, bucket.count); in RunTasksImpl() local
875 bool res = availableGroups.TryPush(std::move(group)); in ReleaseGroup() local
/TaskScheduler/Scheduler/Include/Platform/Windows/
H A DMTFiberOptimized.h115 MW_BOOL res = GetThreadContext( GetCurrentThread(), &fiberContext ); in CreateFromCurrentThreadAndRun() local
141 MW_BOOL res = GetThreadContext( GetCurrentThread(), &fiberContext ); in Create() local
200 MW_BOOL res = GetThreadContext(thread, &from.fiberContext ); in SwitchTo() local
H A DMTEventKernel.h84 MW_DWORD res = WaitForSingleObject(eventHandle, milliseconds); in Wait() local
H A DMTThread.h190 MW_BOOL res = CloseHandle(thread); in Join() local
/TaskScheduler/SchedulerTests/Tests/
H A DFoundationTests.cpp102 bool res = queue.TryPush( std::move(77 + i) ); in SUITE() local
115 bool res = queue.TryPop(val); in SUITE() local
H A DPlatformTests.cpp132 bool res = pEvent->Wait(1000); in SUITE() local
214 bool res = stressEvent.Wait(1000); in SUITE() local
257 bool res = stressEvent.Wait(300); in SUITE() local
H A DAtomicTests.cpp169 float res = 0.0f; in SUITE() local
/TaskScheduler/SchedulerTests/
H A Dmain.cpp103 int res = 0; in main() local
/TaskScheduler/Scheduler/Include/
H A DMTTaskPool.h322 TaskHandle res = TryAlloc(std::move(task)); in Alloc() local
H A DMTTaskQueue.h261 bool res = queue.Add(itemArray[i]); in Add() local