class ThreadPoolTest
Declaration
class ThreadPoolTest : public Test { /* full declaration omitted */ };
Declared at: llvm/unittests/Support/ThreadPool.cpp:23
Inherits from: Test
Member Variables
- protected std::condition_variable WaitMainThread
- protected std::mutex WaitMainThreadMutex
- protected bool MainThreadReady = false
Method Overview
- protected void SetUp()
- protected ThreadPoolTest()
- protected bool isUnsupportedOSOrEnvironment()
- protected void setMainThreadReady()
- protected void waitForMainThread()
Methods
¶void SetUp()
void SetUp()
Declared at: llvm/unittests/Support/ThreadPool.cpp:70
¶ThreadPoolTest()
ThreadPoolTest()
Declared at: llvm/unittests/Support/ThreadPool.cpp:46
¶bool isUnsupportedOSOrEnvironment()
bool isUnsupportedOSOrEnvironment()
Declared at: llvm/unittests/Support/ThreadPool.cpp:30
¶void setMainThreadReady()
void setMainThreadReady()
Description
Set the readiness of the main thread.
Declared at: llvm/unittests/Support/ThreadPool.cpp:62
¶void waitForMainThread()
void waitForMainThread()
Description
Make sure this thread not progress faster than the main thread.
Declared at: llvm/unittests/Support/ThreadPool.cpp:56