mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 13:03:06 +01:00
Removed use of new/delete, switched to use allocator instead.
This commit is contained in:
@@ -36,6 +36,8 @@ using namespace Windows::System::Threading;
|
||||
|
||||
namespace bx
|
||||
{
|
||||
static DefaultAllocator s_allocator;
|
||||
|
||||
struct ThreadInternal
|
||||
{
|
||||
#if BX_PLATFORM_WINDOWS \
|
||||
@@ -76,6 +78,7 @@ namespace bx
|
||||
Thread::Thread()
|
||||
: m_fn(NULL)
|
||||
, m_userData(NULL)
|
||||
, m_queue(&s_allocator)
|
||||
, m_stackSize(0)
|
||||
, m_exitCode(kExitSuccess)
|
||||
, m_running(false)
|
||||
|
||||
Reference in New Issue
Block a user