[Interest] Windows::QDir::mkpath()
Thiago Macieira
thiago.macieira at intel.com
Sun Oct 6 00:14:41 CEST 2013
On domingo, 6 de outubro de 2013 00:34:39, Alexander Syvak wrote:
> Hello,
>
> in the app. there're threads. Each of them is using the QDir::mkpath method
> creating new directories in common for them directory. Once upon a time
> each of them is stopped by emitting a signal (default connection) where the
> corresponding slot stops the thread timer and quits the event loop.
Signals don't stop threads, especially not AutoConnection ones (the default).
> After
> emitting the signal the QThread::wait is called which returns false time to
> time. Also it happenes time to time that the files in the common directory
> are deleted.
> The assumption is that the thread is stopped in the middle of a mkpath
> invocation.
> Any other assumptions?
Your only assumption is wrong.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131005/e93158e7/attachment.sig>
More information about the Interest
mailing list