mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
Use pthread_set_name_np() instead of pthread_setname_np() on FreeBSD.
This commit is contained in:
parent
feb9a4b9e1
commit
33df224254
1 changed files with 4 additions and 0 deletions
|
|
@ -36,6 +36,10 @@
|
|||
#define pw_thread_loop_events_emit(o,m,v,...) spa_hook_list_call(&o->listener_list, struct pw_thread_loop_events, m, v, ##__VA_ARGS__)
|
||||
#define pw_thread_loop_events_destroy(o) pw_thread_loop_events_emit(o, destroy, 0)
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#define pthread_setname_np pthread_set_name_np
|
||||
#endif
|
||||
|
||||
/** \cond */
|
||||
struct pw_thread_loop {
|
||||
struct pw_loop *loop;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue