[Qt-interest] QFile* threads

Thiago Macieira thiago.macieira at trolltech.com
Fri Jul 24 13:20:09 CEST 2009


Em Sexta-feira 24 Julho 2009, às 12:26:03, _h_ escreveu:
> Hi,
> In one of my qt application I am using multiple instance of
> QFileDialog by taking object pointer.
> When observing process stack of this application, it shows following...
>
> Thread 3 (Thread 183630768 (LWP 10648)):
> #0 0x008e348d in pthread_cond_wait@@GLIBC_2.3.2 ()
> #1 0x02a34178 in QWaitCondition::wait ()
> #2 0x06bbbced in QFileSystemModel::sort ()
> #3 0x02a335a0 in QThread::setPriority ()
> #4 0x008e0d78 in start_thread () from /lib/tls/libpthread.so.0
> #5 0x05e613fa in clone () from /lib/tls/libc.so.6
> Thread 2 (Thread 173140912 (LWP 10649)):
> #0 0x05e5a757 in ___newselect_nocancel () from /lib/tls/libc.so.6
> #1 0x02b55bbf in QEventDispatcherUNIX::select ()
> #2 0x02b56c50 in QEventDispatcherUNIXPrivate::doSelect ()
> #3 0x02b57117 in QEventDispatcherUNIX::processEvents ()
> #4 0x02b26b6d in QEventLoop::processEvents ()
> #5 0x02b26eed in QEventLoop::exec ()
> #6 0x02a30087 in QThread::exec ()
> #7 0x02b0b91e in QFSFileEngine::rmdir ()
> #8 0x02a335a0 in QThread::setPriority ()
> #9 0x008e0d78 in start_thread () from /lib/tls/libpthread.so.0
> #10 0x05e613fa in clone () from /lib/tls/libc.so.6
>
> Can you please let me know how can I stop these threads?

Those threads are created by the QFileDialog -- more specifically, by 
QFileSystemModel. You can't stop them.

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
     Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090724/4cd220a2/attachment.bin 


More information about the Qt-interest-old mailing list