FreeBSD Bugzilla – Attachment 209849 Details for
Bug 242564
multimedia/mpv: Enable thread-naming
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Enable thread-naming
patch-pthread_set_name_np (text/plain), 711 bytes, created by
Mikhail Teterin
on 2019-12-11 02:56:54 UTC
(
hide
)
Description:
Enable thread-naming
Filename:
MIME Type:
Creator:
Mikhail Teterin
Created:
2019-12-11 02:56:54 UTC
Size:
711 bytes
patch
obsolete
>--- wscript 2018-10-02 15:03:41.000000000 -0400 >+++ wscript 2019-12-10 21:35:49.986840000 -0500 >@@ -296,5 +296,5 @@ > 'desc': 'BSD API for setting thread name', > 'deps': '!(glibc-thread-name || osx-thread-name)', >- 'func': check_statement('pthread.h', >+ 'func': check_statement(['pthread.h', 'pthread_np.h'], > 'pthread_set_name_np(pthread_self(), "ducks")', > use=['pthreads']), >--- osdep/threads.c 2018-10-02 15:03:41.000000000 -0400 >+++ osdep/threads.c 2019-12-10 21:49:16.311557000 -0500 >@@ -21,4 +21,7 @@ > > #include "config.h" >+#ifdef HAVE_BSD_THREAD_NAME >+# include <pthread_np.h> >+#endif > > #include "threads.h"
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 242564
: 209849