Is DCOP reentrant?
Waldo Bastian
bastian at kde.org
Fri May 16 22:12:23 BST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 16 May 2003 14:35, Michael Goffioul wrote:
> Yes. I looked at dcop code. If the target is the local client, the
> DCOPClient::receive() method is directly called. kpasswdserver starts
> a transaction and returns, such that the "call" method in my code
> returns immediately.
Indeed... should be fixed now. You will have to be a bit carefull though,
since this may result in some unexpected recursion: during the call to
kpasswdserver additional dcop-calls may come in for your code ( from other
applications ). If that's a problem then you can probably solve that by using
transactions for the calls to your code and queuing them.
You would also have this problem btw if your code was to show a dialog itself.
Cheers,
Waldo
- --
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+xVQ3N4pvrENfboIRAshzAJ4xneKwNeORYheVwQ6c1lWrIEKr6gCeLjYc
m4cym+exoS2GSiY1GXk/mp8=
=feoE
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list