Update StarThread_unix.cpp
my brain is kind of fried at the moment
This commit is contained in:
parent
86a1de4fbd
commit
295ed51126
@ -136,7 +136,7 @@ struct MutexImpl {
|
||||
ts.tv_sec += 60;
|
||||
if (pthread_mutex_timedlock(&mutex, &ts) != 0) {
|
||||
Logger::warn("Mutex lock is taking too long, printing stack");
|
||||
printStack();
|
||||
printStack("Mutex::lock");
|
||||
pthread_mutex_lock(&mutex);
|
||||
}
|
||||
}
|
||||
@ -211,7 +211,7 @@ struct RecursiveMutexImpl {
|
||||
ts.tv_sec += 60;
|
||||
if (pthread_mutex_timedlock(&mutex, &ts) != 0) {
|
||||
Logger::warn("RecursiveMutex lock is taking too long, printing stack");
|
||||
printStack();
|
||||
printStack("RecursiveMutex::lock");
|
||||
pthread_mutex_lock(&mutex);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user