From kdevelop-devel Sat Nov 20 16:52:36 2010 From: Milian Wolff Date: Sat, 20 Nov 2010 16:52:36 +0000 To: kdevelop-devel Subject: Re: Killability of ImportProjectJob Message-Id: <201011201752.36384.mail () milianw ! de> X-MARC-Message: https://marc.info/?l=kdevelop-devel&m=129027203632331 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0514736004==" --===============0514736004== Content-Type: multipart/signed; boundary="nextPart2394695.Q8W6PcsPFx"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2394695.Q8W6PcsPFx Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Saturday 20 November 2010 17:50:31 Milian Wolff wrote: > Hey all, >=20 > 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.: =2E.. > 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 t= hen=20 ICore::self() is not shutting down... I'd need something like "project- >abortLoad()" or similar... I'll see what I can do. =2D-=20 Milian Wolff mail@milianw.de http://milianw.de --nextPart2394695.Q8W6PcsPFx Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAkzn/NQACgkQDA6yEs0dE5PsfgCcCKzHcgi8kbBduKue+ycwyYpB WyIAoI7PgQ2dooGC5XUdgGAybZiDbHvE =T9+Y -----END PGP SIGNATURE----- --nextPart2394695.Q8W6PcsPFx-- --===============0514736004== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- KDevelop-devel mailing list KDevelop-devel@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel --===============0514736004==--