Removed use of new/delete, switched to use allocator instead.

This commit is contained in:
Branimir Karadžić
2017-11-14 22:09:52 -08:00
parent d90e26f6d0
commit 493c559e8a
8 changed files with 35 additions and 22 deletions

View File

@@ -6,7 +6,8 @@
#include "test.h"
#include <bx/thread.h>
bx::MpScUnboundedBlockingQueue<void> s_mpsc;
bx::DefaultAllocator s_allocator;
bx::MpScUnboundedBlockingQueue<void> s_mpsc(&s_allocator);
int32_t threadExit0(bx::Thread* _thread, void*)
{