mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
add accessor functions for the userdata attached to a pa_thread object
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1371 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
3be920d9ae
commit
6bbfb43f2a
2 changed files with 15 additions and 0 deletions
|
|
@ -40,6 +40,9 @@ pa_thread *pa_thread_self(void);
|
|||
void pa_thread_yield(void);
|
||||
void pa_thread_once(pa_thread_once_t *control, pa_thread_once_func_t once_func);
|
||||
|
||||
void* pa_thread_get_data(pa_thread *t);
|
||||
void pa_thread_set_data(pa_thread *t, void *userdata);
|
||||
|
||||
typedef struct pa_tls pa_tls;
|
||||
|
||||
pa_tls* pa_tls_new(pa_free_cb_t free_cb);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue