[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/kdepim/enterprise4/kdepim/libkleo/backends/qgpgme
From: Marc Mutz <mutz () kde ! org>
Date: 2009-10-26 17:55:46
Message-ID: 1256579746.989069.15025.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1040700 by mutz:
Port Kleo::Jobs from QtConcurrent::run() to plain QThread.
Using QtConcurrent::run(), it is not possible to move the QIODevices that
are shared between callers and worker thread from the caller to the thread
(you don't know which one you will get, and o->moveToThread( this ) is not
allowed in Qt, you need to push objects from the current owning thead). We
do that now, to fix an assertion when using QProcess as a QIODevice.
It's also not good to have stuff in the global thread pool that blocks most
of the time. in fact, it's a no-no. So don't do it anymore.
M +6 -7 qgpgmedecryptjob.cpp
M +6 -7 qgpgmedecryptverifyjob.cpp
M +4 -6 qgpgmedownloadjob.cpp
M +9 -10 qgpgmeencryptjob.cpp
M +6 -7 qgpgmesignencryptjob.cpp
M +6 -7 qgpgmesignjob.cpp
M +5 -6 qgpgmeverifydetachedjob.cpp
M +6 -7 qgpgmeverifyopaquejob.cpp
M +69 -8 threadedjobmixin.h
http://websvn.kde.org/?view=rev&revision=1040700
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic