Commit da7aaa9f authored by Ian Craggs's avatar Ian Craggs

Debugging

parent 466b0add
...@@ -114,11 +114,7 @@ int Thread_lock_mutex(mutex_type mutex) ...@@ -114,11 +114,7 @@ int Thread_lock_mutex(mutex_type mutex)
#else #else
if (mutex->__data.__owner != 0) if (mutex->__data.__owner != 0)
{ {
printf("mutex owner != 0\n"); printf("mutex owner != 0, %p\n", mutex);
if (mutex == mqttasync_mutex)
printf("mutex is mqttasync mutex\n");
if (mutex == mqttcommand_mutex)
printf("mutex is mqttasync mutex\n");
StackTrace_printStack(stdout); StackTrace_printStack(stdout);
} }
if ((rc = pthread_mutex_lock(mutex)) == 0) if ((rc = pthread_mutex_lock(mutex)) == 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment