
Functions | |
| void | vlc_ExitInit (vlc_exit_t *exit) |
| void | vlc_ExitDestroy (vlc_exit_t *exit) |
| void | libvlc_SetExitHandler (libvlc_int_t *p_libvlc, void(*handler)(void *), void *opaque) |
| Registers a callback for the LibVLC exit event. | |
| void | libvlc_Quit (libvlc_int_t *p_libvlc) |
| Posts an exit signal to LibVLC instance. | |
| static void | exit_wakeup (void *data) |
| void | libvlc_InternalWait (libvlc_int_t *p_libvlc) |
| Waits until the LibVLC instance gets an exit signal. | |
| static void exit_wakeup | ( | void * | data | ) | [static] |
References vlc_cond_signal().
| void libvlc_InternalWait | ( | libvlc_int_t * | p_libvlc | ) |
Waits until the LibVLC instance gets an exit signal.
This normally occurs when the user "exits" an interface plugin. But it can also be triggered by the special vlc://quit item, the update checker, or the playlist engine.
References libvlc_priv_t::exit, vlc_exit::handler, vlc_exit::killed, libvlc_priv(), vlc_exit::lock, vlc_exit::opaque, vlc_cond_destroy(), vlc_cond_init(), vlc_cond_wait(), vlc_mutex_lock(), and vlc_mutex_unlock().
| void libvlc_SetExitHandler | ( | libvlc_int_t * | p_libvlc, | |
| void(*)(void *) | handler, | |||
| void * | opaque | |||
| ) |
Registers a callback for the LibVLC exit event.
References libvlc_priv_t::exit, vlc_exit::handler, vlc_exit::killed, libvlc_priv(), vlc_exit::lock, vlc_exit::opaque, vlc_mutex_lock(), and vlc_mutex_unlock().
| void vlc_ExitDestroy | ( | vlc_exit_t * | exit | ) |
References vlc_exit::lock, and vlc_mutex_destroy().
Referenced by libvlc_InternalDestroy().
| void vlc_ExitInit | ( | vlc_exit_t * | exit | ) |
References vlc_exit::handler, vlc_exit::killed, vlc_exit::lock, vlc_exit::opaque, and vlc_mutex_init().
Referenced by libvlc_InternalCreate().
1.7.1