FFmpeg
Macros | Functions
thread.h File Reference
#include "config.h"

Go to the source code of this file.

Macros

#define AVMutex   char
 
#define AV_MUTEX_INITIALIZER   0
 
#define AVOnce   char
 
#define AV_ONCE_INIT   0
 

Functions

static int ff_mutex_init (AVMutex *mutex, const void *attr)
 
static int ff_mutex_lock (AVMutex *mutex)
 
static int ff_mutex_unlock (AVMutex *mutex)
 
static int ff_mutex_destroy (AVMutex *mutex)
 
static int ff_thread_once (char *control, void(*routine)(void))
 

Macro Definition Documentation

◆ AVMutex

#define AVMutex   char

Definition at line 151 of file thread.h.

◆ AV_MUTEX_INITIALIZER

#define AV_MUTEX_INITIALIZER   0

Definition at line 152 of file thread.h.

◆ AVOnce

#define AVOnce   char

Definition at line 159 of file thread.h.

◆ AV_ONCE_INIT

#define AV_ONCE_INIT   0

Definition at line 160 of file thread.h.

Function Documentation

◆ ff_mutex_init()

static int ff_mutex_init ( AVMutex mutex,
const void *  attr 
)
inlinestatic

Definition at line 154 of file thread.h.

Referenced by av_buffer_pool_init(), and av_buffer_pool_init2().

◆ ff_mutex_lock()

static int ff_mutex_lock ( AVMutex mutex)
inlinestatic

◆ ff_mutex_unlock()

static int ff_mutex_unlock ( AVMutex mutex)
inlinestatic

◆ ff_mutex_destroy()

static int ff_mutex_destroy ( AVMutex mutex)
inlinestatic

Definition at line 157 of file thread.h.

Referenced by buffer_pool_free().

◆ ff_thread_once()

static int ff_thread_once ( char *  control,
void(*)(void)  routine 
)
inlinestatic