Doyle Thai
19c427d756
Thread Bug: Incorrectly using && operator for while (DqnJobQueue_TryExecuteNextJob(queue) && !DqnJobQueue_AllJobsComplete(queue)) causing it to prematurely exit if the main thread has completed its work before other threads have completed the remainder. Should be using an || operator, so instead creating a helper function which encapsulates this functionality.
4 lines
99 B
Makefile
4 lines
99 B
Makefile
all: dqn_unit_test.cpp
|
|
mkdir -p bin
|
|
g++ -o bin/dqn_unit_test dqn_unit_test.cpp -lm -Wall -Werror
|