[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: Re: Killability of ImportProjectJob
From: Milian Wolff <mail () milianw ! de>
Date: 2010-11-20 16:52:36
Message-ID: 201011201752.36384.mail () milianw ! de
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Saturday 20 November 2010 17:50:31 Milian Wolff wrote:
> Hey all,
>
> currently the ImportProjectJob is not really interruptable. It has doKill
> that just waitForFinished which can easily lead to deadlocks nowadays,
> since we can import stuff from the background bug QMetaType::invokeMethod
> in the projectmodel then. E.g.:
...
> I could add e.g. ICore::shuttingDown() calls just before all invokeMethod
> calls, but that might still deadlock sometimes (rarely) and it's imo just
> not nice.
Just noticed: If the users stops the import job it will still deadlock as then
ICore::self() is not shutting down... I'd need something like "project-
>abortLoad()" or similar...
I'll see what I can do.
--
Milian Wolff
mail@milianw.de
http://milianw.de
["signature.asc" (application/pgp-signature)]
--
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic