FFmpeg
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

◆ avpriv_atomic_lock()

void avpriv_atomic_lock ( void  )

◆ avpriv_atomic_unlock()

void avpriv_atomic_unlock ( void  )

Variable Documentation

◆ atomic_lock

Definition at line 29 of file stdatomic.c.

Referenced by avpriv_atomic_lock(), and avpriv_atomic_unlock().