Running queries via dbus

Alex Merry kde at randomguy3.me.uk
Wed Mar 24 00:56:22 CET 2010


On Tuesday 23 March 2010 23:47:10 Jacopo De Simoi wrote:
> I just got a quite crazy idea; it might work though.
> Since we are making the thread stall by waiting for the async reply we
> could as well check that while we get the pending reply the context is
> still valid and bail out discarding the reply otherwise. If this can be
> coded in a simple way I guess it's a good solution for preventing stacking
> up of threads in krunner Aaron ,what do you think about this?

Well, we can use signals and slots to get the reply - would that help?  Is 
there any way of getting a signal when the context is invalidated, or do you 
just have to check?

Alex

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20100323/8edadfd5/attachment.sig 


More information about the Plasma-devel mailing list