From kde-devel Mon Oct 29 02:34:49 2007 From: Vlad Codrea Date: Mon, 29 Oct 2007 02:34:49 +0000 To: kde-devel Subject: Re: KIO::listDir() freezes in multi-threaded KioFuse due to timer Message-Id: <596681.98656.qm () web54406 ! mail ! yahoo ! com> X-MARC-Message: https://marc.info/?l=kde-devel&m=119362534128492 --- Thiago Macieira wrote: > Vlad Codrea wrote: > >KioFuse freezes and gives the following warning when Fuse is > allowed > >to create a separate thread for every filesystem operation. The > first > >readdir() attempt succeeds, but the freeze and warning appear > >consistently on the second readdir() attempt: > > Solution: use KIO from the GUI thread only. I've taken your advice and created the ListJob instance in the main thread, specifically in the slot KioFuseApp::listJobMainThread(). I verified that the instance of KioFuseApp belongs to the main thread by running: kDebug()<<"this->thread()"<thread()<thread()"<thread()<> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<