Wait for that mutex for longer. (Don't know why yet...)
This commit is contained in:
+1
-1
@@ -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,
|
int ptp_get_clock_info(uint64_t *actual_clock_id, uint64_t *time_of_sample, uint64_t *raw_offset,
|
||||||
uint64_t *mastership_start_time) {
|
uint64_t *mastership_start_time) {
|
||||||
int response = clock_ok;
|
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)
|
if (actual_clock_id != NULL)
|
||||||
*actual_clock_id = 0;
|
*actual_clock_id = 0;
|
||||||
if (raw_offset != NULL)
|
if (raw_offset != NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user