World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
19 #ifndef AVUTIL_THREADMESSAGE_H
20 #define AVUTIL_THREADMESSAGE_H
96 void (*free_func)(
void *msg));
@ AV_THREAD_MESSAGE_NONBLOCK
struct AVThreadMessageQueue AVThreadMessageQueue
void av_thread_message_queue_set_err_recv(AVThreadMessageQueue *mq, int err)
void av_thread_message_queue_set_free_func(AVThreadMessageQueue *mq, void(*free_func)(void *msg))
void av_thread_message_flush(AVThreadMessageQueue *mq)
void av_thread_message_queue_set_err_send(AVThreadMessageQueue *mq, int err)
int av_thread_message_queue_send(AVThreadMessageQueue *mq, void *msg, unsigned flags)
int av_thread_message_queue_alloc(AVThreadMessageQueue **mq, unsigned nelem, unsigned elsize)
int av_thread_message_queue_recv(AVThreadMessageQueue *mq, void *msg, unsigned flags)
int av_thread_message_queue_nb_elems(AVThreadMessageQueue *mq)
void av_thread_message_queue_free(AVThreadMessageQueue **mq)