mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
Modification of the thread-mainloop doc to ensure that nobody frees the api as it is owned by the loop.
This commit is contained in:
parent
65f86ef7d4
commit
52e5d4b1d2
1 changed files with 3 additions and 1 deletions
|
|
@ -299,7 +299,9 @@ void pa_threaded_mainloop_accept(pa_threaded_mainloop *m);
|
||||||
/** Return the return value as specified with the main loop's quit() routine. */
|
/** Return the return value as specified with the main loop's quit() routine. */
|
||||||
int pa_threaded_mainloop_get_retval(pa_threaded_mainloop *m);
|
int pa_threaded_mainloop_get_retval(pa_threaded_mainloop *m);
|
||||||
|
|
||||||
/** Return the abstract main loop abstraction layer vtable for this main loop. */
|
/** Return the abstract main loop abstraction layer vtable for this
|
||||||
|
main loop. No need of freeing the API as it is owned by the loop
|
||||||
|
and it is destroyed when this dies */
|
||||||
pa_mainloop_api* pa_threaded_mainloop_get_api(pa_threaded_mainloop*m);
|
pa_mainloop_api* pa_threaded_mainloop_get_api(pa_threaded_mainloop*m);
|
||||||
|
|
||||||
/** Returns non-zero when called from withing the event loop thread. \since 0.9.7 */
|
/** Returns non-zero when called from withing the event loop thread. \since 0.9.7 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue