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

#define AVMutex   char

Definition at line 151 of file thread.h.

#define AV_MUTEX_INITIALIZER   0

Definition at line 152 of file thread.h.

#define AVOnce   char
#define AV_ONCE_INIT   0

Function Documentation

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().

static int ff_mutex_lock ( AVMutex mutex)
inlinestatic
static int ff_mutex_unlock ( AVMutex mutex)
inlinestatic
static int ff_mutex_destroy ( AVMutex mutex)
inlinestatic

Definition at line 157 of file thread.h.

Referenced by buffer_pool_free().

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