summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_groups.cpp
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@coosemans.org>2010-11-26 09:11:09 (GMT)
committerJoão Abecasis <joao.abecasis@nokia.com>2010-11-26 09:11:09 (GMT)
commitd977d5f4d2da9e0aba211e53a3d040bcccc87f87 (patch)
tree1096f30b980f17ffdf8f857d69ea4cd4df9bc71c /doc/src/snippets/code/doc_src_groups.cpp
parent48467f2d8cba8da2589cb1e480e4ed40199626d9 (diff)
downloadQt-d977d5f4d2da9e0aba211e53a3d040bcccc87f87.zip
Qt-d977d5f4d2da9e0aba211e53a3d040bcccc87f87.tar.gz
Qt-d977d5f4d2da9e0aba211e53a3d040bcccc87f87.tar.bz2
QKqueueFileSystemWatcherEngine: Unlock mutex before calling write(2).
Calls to write(2) potentially block, so make sure the application thread unlocks the mutex before it writes to the pipe between itself and the worker thread, so the latter can continue to process events and eventually unblock the write call (if needed) by emptying the pipe. Merge-request: 2425 Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Diffstat (limited to 'doc/src/snippets/code/doc_src_groups.cpp')
0 files changed, 0 insertions, 0 deletions