VLC  4.0.0-dev
Typedefs | Functions
Include dependency graph for vlc_interrupt.h:

Go to the source code of this file.

Typedefs

typedef struct vlc_interrupt vlc_interrupt_t
 

Functions

VLC_EXPORT int vlc_sem_wait_i11e (vlc_sem_t *)
 Interruptible variant of vlc_sem_wait(). More...
 
VLC_EXPORT int vlc_mwait_i11e (vlc_tick_t)
 Interruptible variant of vlc_tick_wait(). More...
 
static int vlc_msleep_i11e (vlc_tick_t delay)
 Interruptible variant of vlc_tick_sleep(). More...
 
VLC_EXPORT int vlc_poll_i11e (struct pollfd *, unsigned, int)
 Interruptible variant of poll(). More...
 
VLC_EXPORT ssize_t vlc_readv_i11e (int fd, struct iovec *, int)
 Wrapper for readv() that returns the EINTR error upon VLC I/O interruption. More...
 
VLC_EXPORT ssize_t vlc_writev_i11e (int fd, const struct iovec *, int)
 Wrapper for writev() that returns the EINTR error upon VLC I/O interruption. More...
 
VLC_EXPORT ssize_t vlc_read_i11e (int fd, void *, size_t)
 Wrapper for read() that returns the EINTR error upon VLC I/O interruption. More...
 
VLC_EXPORT ssize_t vlc_write_i11e (int fd, const void *, size_t)
 Wrapper for write() that returns the EINTR error upon VLC I/O interruption. More...
 
VLC_EXPORT ssize_t vlc_recvmsg_i11e (int fd, struct msghdr *, int flags)
 
VLC_EXPORT ssize_t vlc_sendmsg_i11e (int fd, const struct msghdr *, int flags)
 
VLC_EXPORT ssize_t vlc_recvfrom_i11e (int fd, void *, size_t, int flags, struct sockaddr *, socklen_t *)
 
VLC_EXPORT ssize_t vlc_sendto_i11e (int fd, const void *, size_t, int flags, const struct sockaddr *, socklen_t)
 
static ssize_t vlc_recv_i11e (int fd, void *buf, size_t len, int flags)
 
static ssize_t vlc_send_i11e (int fd, const void *buf, size_t len, int flags)
 
VLC_EXPORT int vlc_accept_i11e (int fd, struct sockaddr *, socklen_t *, bool)
 
VLC_EXPORT void vlc_interrupt_register (void(*cb)(void *), void *opaque)
 Registers a custom interrupt handler. More...
 
VLC_EXPORT int vlc_interrupt_unregister (void)
 
VLC_EXPORT vlc_interrupt_tvlc_interrupt_create (void)
 Creates an interruption context. More...
 
VLC_EXPORT void vlc_interrupt_destroy (vlc_interrupt_t *)
 Destroys an interrupt context. More...
 
VLC_EXPORT vlc_interrupt_tvlc_interrupt_set (vlc_interrupt_t *)
 Sets the interruption context for the calling thread. More...
 
VLC_EXPORT void vlc_interrupt_raise (vlc_interrupt_t *)
 Raises an interruption through a specified context. More...
 
VLC_EXPORT void vlc_interrupt_kill (vlc_interrupt_t *)
 Marks the interruption context as "killed". More...
 
VLC_EXPORT bool vlc_killed (void)
 Checks if the interruption context was "killed". More...
 
VLC_EXPORT void vlc_interrupt_forward_start (vlc_interrupt_t *to, void *data[2])
 Enables forwarding of interruption. More...
 
VLC_EXPORT int vlc_interrupt_forward_stop (void *const data[2])
 Undoes vlc_interrupt_forward_start(). More...
 

Detailed Description

This file declares interruptible sleep functions.