don't lock the global mutex if there is nothing to protect 2655
authorKonstantin Ritt <ritt.ks@gmail.com>
Mon, 22 Aug 2011 04:55:22 +0000 (08:55 +0400)
committerKonstantin Ritt <ritt.ks@gmail.com>
Mon, 22 Aug 2011 04:56:45 +0000 (08:56 +0400)
commitab3b360151609b24ff427929b8e52f1c5a9b01cc
treec1cf35c7bb626a50a4500b14e4bf1832b2344c08
parent14792e233c525348c30219f48103244207ac3ffd
don't lock the global mutex if there is nothing to protect

according to Thiago, setting the pointer with the same values *is* thread-safe
src/corelib/kernel/qeventdispatcher_win.cpp
src/gui/dialogs/qfiledialog_win.cpp
src/network/kernel/qhostinfo_win.cpp
src/plugins/bearer/nativewifi/main.cpp