Go to the documentation of this file.
22 #ifndef AVUTIL_THREAD_H
23 #define AVUTIL_THREAD_H
27 #if HAVE_PTHREADS || HAVE_W32THREADS || HAVE_OS2THREADS
39 #define AVMutex pthread_mutex_t
41 #define ff_mutex_init pthread_mutex_init
42 #define ff_mutex_lock pthread_mutex_lock
43 #define ff_mutex_unlock pthread_mutex_unlock
44 #define ff_mutex_destroy pthread_mutex_destroy
52 #define ff_mutex_init(mutex, attr) (0)
53 #define ff_mutex_lock(mutex) (0)
54 #define ff_mutex_unlock(mutex) (0)
55 #define ff_mutex_destroy(mutex) (0)