Change-Id: I2c13b9610037baf9e5b0db675bac19426fe8239e


[ROCm/rocprofiler commit: 7dd087ebf0]
This commit is contained in:
Evgeny
2019-01-16 19:08:00 -06:00
parent 63150d03e1
commit 28b8257ef8
+6 -6
View File
@@ -500,13 +500,13 @@ void dump_context_array(hsa_queue_t* queue) {
}
}
}
if (pthread_mutex_unlock(&mutex) != 0) {
perror("pthread_mutex_unlock");
abort();
}
if (done == false) sched_yield();
}
if (pthread_mutex_unlock(&mutex) != 0) {
perror("pthread_mutex_unlock");
abort();
}
if (done == false) sched_yield();
}
}