View | Details | Raw Unified | Return to bug 203509 | Differences between
and this patch

Collapse All | Expand All

(-)3rdparty/bx/include/bx/thread.h (-1 / +7 lines)
Lines 14-19 using namespace Windows::Foundation; Link Here
14
using namespace Windows::System::Threading;
14
using namespace Windows::System::Threading;
15
#endif
15
#endif
16
16
17
#if BX_PLATFORM_FREEBSD
18
#	include <pthread_np.h>
19
#endif
20
17
#include "sem.h"
21
#include "sem.h"
18
22
19
#if BX_CONFIG_SUPPORTS_THREADING
23
#if BX_CONFIG_SUPPORTS_THREADING
Lines 149-156 namespace bx Link Here
149
		{
153
		{
150
#if BX_PLATFORM_OSX || BX_PLATFORM_IOS
154
#if BX_PLATFORM_OSX || BX_PLATFORM_IOS
151
			pthread_setname_np(_name);
155
			pthread_setname_np(_name);
152
#elif BX_PLATFORM_LINUX || BX_PLATFORM_FREEBSD
156
#elif BX_PLATFORM_LINUX
153
			pthread_setname_np(m_handle, _name);
157
			pthread_setname_np(m_handle, _name);
158
#elif BX_PLATFORM_FREEBSD
159
			pthread_set_name_np(m_handle, _name);
154
#elif BX_PLATFORM_WINDOWS && BX_COMPILER_MSVC
160
#elif BX_PLATFORM_WINDOWS && BX_COMPILER_MSVC
155
#	pragma pack(push, 8)
161
#	pragma pack(push, 8)
156
			struct ThreadName
162
			struct ThreadName

Return to bug 203509