Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
capmt: another quick mutex fix
  • Loading branch information
perexg committed Oct 5, 2014
1 parent bd91b96 commit e00c6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/descrambler/capmt.c
Expand Up @@ -1506,7 +1506,7 @@ capmt_thread(void *aux)

tvhlog(LOG_INFO, "capmt", "%s: Automatic reconnection attempt in in %d seconds", idnode_get_title(&capmt->cac_id), d);

pthread_cond_timedwait(&capmt->capmt_cond, &global_lock, &ts);
pthread_cond_timedwait(&capmt->capmt_cond, &capmt->capmt_mutex, &ts);

pthread_mutex_unlock(&capmt->capmt_mutex);
}
Expand Down

0 comments on commit e00c6ff

Please sign in to comment.