[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Is DCOP reentrant?
From:       Waldo Bastian <bastian () kde ! org>
Date:       2003-05-16 21:12:23
[Download RAW message or body]

-----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@kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian@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-----


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic