pthread_mutex_t global_lock;
pthread_mutex_t tasklet_lock;
-pthread_mutex_t ffmpeg_lock;
pthread_mutex_t fork_lock;
pthread_mutex_t atomic_lock;
main_tid = pthread_self();
/* Setup global mutexes */
- pthread_mutex_init(&ffmpeg_lock, NULL);
pthread_mutex_init(&fork_lock, NULL);
pthread_mutex_init(&global_lock, NULL);
pthread_mutex_init(&tasklet_lock, NULL);
extern int tvheadend_running;
extern pthread_mutex_t global_lock;
-extern pthread_mutex_t ffmpeg_lock;
extern pthread_mutex_t fork_lock;
extern pthread_mutex_t atomic_lock;