MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / av_thread_message_queue_set_err_send

Function av_thread_message_queue_set_err_send

libavutil/threadmessage.c:193–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193void av_thread_message_queue_set_err_send(AVThreadMessageQueue *mq,
194 int err)
195{
196#if HAVE_THREADS
197 pthread_mutex_lock(&mq->lock);
198 mq->err_send = err;
199 pthread_cond_broadcast(&mq->cond_send);
200 pthread_mutex_unlock(&mq->lock);
201#endif /* HAVE_THREADS */
202}
203
204void av_thread_message_queue_set_err_recv(AVThreadMessageQueue *mq,
205 int err)

Callers 3

fifo_consumer_threadFunction · 0.85
receiver_threadFunction · 0.85

Calls 3

pthread_mutex_lockFunction · 0.50
pthread_cond_broadcastFunction · 0.50
pthread_mutex_unlockFunction · 0.50

Tested by 1

receiver_threadFunction · 0.68