]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Wait for that mutex for longer. (Don't know why yet...)
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Mon, 6 Dec 2021 18:09:29 +0000 (18:09 +0000)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Mon, 6 Dec 2021 18:09:29 +0000 (18:09 +0000)
ptp-utilities.c

index 7019187e9d2250c68ac0ad8f18d369daa2572dcc..fa1c64071c5c732b8f873d42591b876f08f7addc 100644 (file)
@@ -68,7 +68,7 @@ int get_nqptp_data(struct shm_structure *nqptp_data) {
 int ptp_get_clock_info(uint64_t *actual_clock_id, uint64_t *time_of_sample, uint64_t *raw_offset,
                        uint64_t *mastership_start_time) {
   int response = clock_ok;
-  pthread_cleanup_debug_mutex_lock(&ptp_access_mutex, 20000, 1);
+  pthread_cleanup_debug_mutex_lock(&ptp_access_mutex, 50000, 1);
   if (actual_clock_id != NULL)
     *actual_clock_id = 0;
   if (raw_offset != NULL)