Go to the documentation of this file.
22 #ifndef AVUTIL_THREAD_H
23 #define AVUTIL_THREAD_H
27 #if HAVE_PTHREADS || HAVE_W32THREADS
35 #define AVMutex pthread_mutex_t
37 #define ff_mutex_init pthread_mutex_init
38 #define ff_mutex_lock pthread_mutex_lock
39 #define ff_mutex_unlock pthread_mutex_unlock
40 #define ff_mutex_destroy pthread_mutex_destroy
46 #define ff_mutex_init(mutex, attr) (0)
47 #define ff_mutex_lock(mutex) (0)
48 #define ff_mutex_unlock(mutex) (0)
49 #define ff_mutex_destroy(mutex) (0)