Home
last modified time | relevance | path

Searched refs:rmq (Results 1 - 1 of 1) sorted by relevance

/third_party/ffmpeg/libavutil/
H A Dthreadmessage.c47 AVThreadMessageQueue *rmq; in av_thread_message_queue_alloc() local
52 if (!(rmq = av_mallocz(sizeof(*rmq)))) in av_thread_message_queue_alloc()
54 if ((ret = pthread_mutex_init(&rmq->lock, NULL))) { in av_thread_message_queue_alloc()
55 av_free(rmq); in av_thread_message_queue_alloc()
58 if ((ret = pthread_cond_init(&rmq->cond_recv, NULL))) { in av_thread_message_queue_alloc()
59 pthread_mutex_destroy(&rmq->lock); in av_thread_message_queue_alloc()
60 av_free(rmq); in av_thread_message_queue_alloc()
63 if ((ret = pthread_cond_init(&rmq->cond_send, NULL))) { in av_thread_message_queue_alloc()
64 pthread_cond_destroy(&rmq in av_thread_message_queue_alloc()
[all...]

Completed in 1 milliseconds