Searched refs:thread (Results 1 – 8 of 8) sorted by relevance
| /TaskScheduler/Scheduler/Include/Platform/Windows/ |
| H A D | MTThread.h | 112 MW_HANDLE thread; variable 144 : thread(nullptr) in Thread() 150 MT_ASSERT(thread == nullptr, "Thread is not stopped!"); in ~Thread() 155 MT_ASSERT(thread == nullptr, "Thread already started"); 160 MT_ASSERT(thread != nullptr, "Can't create thread"); 167 MW_DWORD res = ::SetThreadIdealProcessor(thread, cpuCore); 177 res = ::ResumeThread(thread); 184 if (thread == nullptr) in Join() 189 ::WaitForSingleObject(thread, MW_INFINITE); in Join() 190 MW_BOOL res = CloseHandle(thread); in Join() [all …]
|
| H A D | MTFiberOptimized.h | 197 MW_HANDLE thread = GetCurrentThread(); in SwitchTo() local 200 MW_BOOL res = GetThreadContext(thread, &from.fiberContext ); in SwitchTo() 211 res = SetThreadContext(thread, &to.fiberContext ); in SwitchTo()
|
| /TaskScheduler/SchedulerTests/Tests/ |
| H A D | PlatformTests.cpp | 47 MT::Thread thread; in SUITE() local 48 thread.Start(32768, MyThreadFunc, (void*)data); in SUITE() 49 thread.Join(); in SUITE() 74 MT::Thread thread; in SUITE() local 75 thread.Start(32768, MyThreadFunc2, nullptr); in SUITE() 95 thread.Join(); in SUITE()
|
| /TaskScheduler/Scheduler/Include/Platform/Posix/ |
| H A D | MTThread.h | 138 pthread_t thread; variable 268 err = pthread_create(&thread, &threadAttr, ThreadFuncInternal, this); 283 int err = pthread_join(thread, &threadStatus); in Join() 307 return std::thread::hardware_concurrency(); in GetNumberOfHardwareThreads()
|
| /TaskScheduler/Scheduler/Include/ |
| H A D | MTPlatform.h | 119 #define mt_thread_local __declspec(thread)
|
| H A D | MTThreadContext.h | 84 Thread thread; member
|
| /TaskScheduler/ThirdParty/Boost.Context/asm/ |
| H A D | jump_arm_aapcs_pe_armasm.asm | 62 ; load TIB to save/restore thread size and limit.
|
| /TaskScheduler/Scheduler/Source/ |
| H A D | MTScheduler.cpp | 124 …threadContext[i].thread.Start( MT_SCHEDULER_STACK_SIZE, WorkerThreadMain, &threadContext[i], threa… in TaskScheduler() 139 threadContext[i].thread.Join(); in JoinWorkerThreads()
|