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


2013/10/6 Thiago Macieira <thiago.macie...@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@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to