This commit is contained in:
Бранимир Караџић
2022-08-08 20:01:07 -07:00
parent cfb6a1c1e0
commit 91fb6f84cd
3 changed files with 15 additions and 7 deletions

View File

@@ -6,6 +6,8 @@
#include "test.h"
#include <bx/thread.h>
#if BX_CONFIG_SUPPORTS_THREADING
bx::DefaultAllocator s_allocator;
bx::MpScUnboundedBlockingQueue<void> s_mpsc(&s_allocator);
@@ -69,3 +71,5 @@ TEST_CASE("MpScUnboundedBlockingQueue", "")
REQUIRE(result == 0x1389);
}
#endif // BX_CONFIG_SUPPORTS_THREADING