increase the wait time for the shm access mutex.

This commit is contained in:
Mike Brady
2021-06-06 15:49:03 +01:00
parent 0f1118c142
commit 6edaa58595
+1 -1
View File
@@ -63,7 +63,7 @@ int get_nqptp_data(struct shm_structure *nqptp_data) {
int ptp_get_clock_info(uint64_t *actual_clock_id, uint64_t *raw_offset,
uint64_t *mastership_start_time) {
int response = clock_ok;
pthread_cleanup_debug_mutex_lock(&ptp_access_mutex, 10000, 1);
pthread_cleanup_debug_mutex_lock(&ptp_access_mutex, 20000, 1);
if (actual_clock_id != NULL)
*actual_clock_id = 0;
if (raw_offset != NULL)