FreeBSD Bugzilla – Attachment 162376 Details for
Bug 203509
emulators/mame: Update to version 0.166
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pthread usage patch
patch-3rdparty_bx_include_bx_thread.h (text/plain), 713 bytes, created by
Guido Falsi
on 2015-10-23 08:25:04 UTC
(
hide
)
Description:
pthread usage patch
Filename:
MIME Type:
Creator:
Guido Falsi
Created:
2015-10-23 08:25:04 UTC
Size:
713 bytes
patch
obsolete
>--- 3rdparty/bx/include/bx/thread.h.orig 2015-09-30 06:29:01 UTC >+++ 3rdparty/bx/include/bx/thread.h >@@ -14,6 +14,10 @@ using namespace Windows::Foundation; > using namespace Windows::System::Threading; > #endif > >+#if BX_PLATFORM_FREEBSD >+# include <pthread_np.h> >+#endif >+ > #include "sem.h" > > #if BX_CONFIG_SUPPORTS_THREADING >@@ -149,8 +153,10 @@ namespace bx > { > #if BX_PLATFORM_OSX || BX_PLATFORM_IOS > pthread_setname_np(_name); >-#elif BX_PLATFORM_LINUX || BX_PLATFORM_FREEBSD >+#elif BX_PLATFORM_LINUX > pthread_setname_np(m_handle, _name); >+#elif BX_PLATFORM_FREEBSD >+ pthread_set_name_np(m_handle, _name); > #elif BX_PLATFORM_WINDOWS && BX_COMPILER_MSVC > # pragma pack(push, 8) > struct ThreadName
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 203509
:
161655
| 162376