mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-14 06:59:53 -05:00
Add function to "wake up", i.e. interrupt, a running poll(). This is needed
when having the poll() in a separate thread. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@479 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
bbaf1543bd
commit
f77d5e14dc
2 changed files with 71 additions and 1 deletions
|
|
@ -82,6 +82,9 @@ int pa_mainloop_deferred_pending(pa_mainloop *m);
|
|||
/** Shutdown the main loop */
|
||||
void pa_mainloop_quit(pa_mainloop *m, int r);
|
||||
|
||||
/** Interrupt a running poll (for threaded systems) */
|
||||
void pa_mainloop_wakeup(pa_mainloop *m);
|
||||
|
||||
PA_C_DECL_END
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue