mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
mainloop: Add API to set thread name for threaded mainloop
This commit is contained in:
parent
1b0136be44
commit
8d129977ca
3 changed files with 19 additions and 1 deletions
|
|
@ -311,6 +311,9 @@ pa_mainloop_api* pa_threaded_mainloop_get_api(pa_threaded_mainloop*m);
|
|||
/** Returns non-zero when called from within the event loop thread. \since 0.9.7 */
|
||||
int pa_threaded_mainloop_in_thread(pa_threaded_mainloop *m);
|
||||
|
||||
/** Sets the name of the thread. \since 4.0 */
|
||||
void pa_threaded_mainloop_set_name(pa_threaded_mainloop *m, const char *name);
|
||||
|
||||
PA_C_DECL_END
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue