Threadweaver or QThread?

Mirko Boehm mirko at kde.org
Fri Sep 28 21:10:27 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas Pakulat wrote:
...
> Hmm, there's one doubt: The Threadweaver API docs say that one can't
> emit signals directly from a job if those are connected to an object in
> a different thread but instead one has to use another object that does
> the emitting and to create this object inside the run() method. So if I
> create a Job-Subclass I need to do this as well, right?
> 
> Andreas
> 
Hi Andreas,

I have to check the documentation, then. The behavior described should
not happen anymore with current Qts.

If in doubt, check currentThread in the receiving thread, it should be
the main thread.

Cheers,

Mirko.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG/V+zYSSaITCTnKURArzsAKCnW+a/mqjmE7Dov6dDgm3OoZuvLwCgpnlI
CP4W3izhXSz/MWTtOk4yNT0=
=gLPN
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list