131ffaa89b
The SYNCHRONIZATION_BARRIER_FLAGS_SPIN_ONLY flag caused this test to run extremely long if the system has very few processors. Although this is expected (thread starvation) this will cause a intolerably long execution time for automated tests. Changed the number of threads to be calculated dyamically based on the number of processors. Also do proper cleanup to prevent memory leaks. |
||
---|---|---|
.. | ||
.gitignore | ||
CMakeLists.txt | ||
TestSynchBarrier.c | ||
TestSynchCritical.c | ||
TestSynchEvent.c | ||
TestSynchInit.c | ||
TestSynchMultipleThreads.c | ||
TestSynchMutex.c | ||
TestSynchSemaphore.c | ||
TestSynchThread.c | ||
TestSynchTimerQueue.c | ||
TestSynchWaitableTimer.c | ||
TestSynchWaitableTimerAPC.c |