[Interest] Fwd: Windows::QDir::mkpath()

Alexander Syvak alexander.svk at gmail.com
Sun Oct 6 13:40:52 CEST 2013


After the connection type was changed to BlockingQueuedConnection it worked
well.


2013/10/6 Thiago Macieira <thiago.macieira at intel.com>

> 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
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131006/ca2172b1/attachment.html>


More information about the Interest mailing list