FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
stdatomic.c File Reference
#include <pthread.h>
#include <stdint.h>
#include "stdatomic.h"

Go to the source code of this file.

Functions

void avpriv_atomic_lock (void)
 
void avpriv_atomic_unlock (void)
 

Variables

static pthread_mutex_t atomic_lock = PTHREAD_MUTEX_INITIALIZER
 

Function Documentation

void avpriv_atomic_lock ( void  )
void avpriv_atomic_unlock ( void  )

Variable Documentation

pthread_mutex_t atomic_lock = PTHREAD_MUTEX_INITIALIZER
static

Definition at line 29 of file stdatomic.c.

Referenced by avpriv_atomic_lock(), and avpriv_atomic_unlock().