QDebug() Thread Safe ?



  • While debugging a deadlock problem I came to wonder if qDebug is thread safe, can it really be true it isn't ?

    The documentation does not explicit mention if it is thread safe or not.



  • Rule of thumb: If the documentation does not state that something is thread safe, it is not. But I wonder how qDebug() can be involved in a deadlock problem, since it should be reentrant.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.