http://doc.qt.io/archives/qt-4.7/qmutexlocker.html
This class locks the mutex in its constructor, so if an error occurs while mutex creation, will we be able to know what error was it (constructor doesn't return anything)?
Is this a disadvantage somehow?
Am I missing a point here?