mainloop: Add API to set thread name for threaded mainloop

This commit is contained in:
Arun Raghavan 2013-05-15 09:37:45 +05:30
parent 1b0136be44
commit 8d129977ca
3 changed files with 19 additions and 1 deletions

View file

@ -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