mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Cleanup.
This commit is contained in:
@@ -109,7 +109,7 @@ namespace bx
|
||||
|
||||
ThreadInternal* ti = (ThreadInternal*)m_internal;
|
||||
#if BX_CRT_NONE
|
||||
ti->m_handle = INT32_MIN;
|
||||
ti->m_handle = -1;
|
||||
#elif BX_PLATFORM_WINDOWS \
|
||||
|| BX_PLATFORM_WINRT \
|
||||
|| BX_PLATFORM_XBOXONE
|
||||
@@ -140,7 +140,7 @@ namespace bx
|
||||
#if BX_CRT_NONE
|
||||
ti->m_handle = crt0::threadCreate(&ti->threadFunc, _userData, m_stackSize, _name);
|
||||
|
||||
if (NULL == ti->m_handle)
|
||||
if (-1 == ti->m_handle)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user