This commit is contained in:
Бранимир Караџић
2020-05-17 10:44:33 -07:00
parent 0ed60bf769
commit 3fc639a235
3 changed files with 47 additions and 7 deletions

View File

@@ -42,7 +42,9 @@ TEST_CASE("Thread", "")
REQUIRE(!th.isRunning() );
th.init(threadExit0);
bool init = th.init(threadExit0, NULL, 0, NULL);
REQUIRE(init);
REQUIRE(th.isRunning() );
th.push(NULL);
th.shutdown();