Klaus Kaempf wrote:
> Ok, I did some tests on the timeout problem now. Here are the results:
> 
> 1. The proposed patch (moving the connection.setTimeout() call after
>    the connection.receive() call) is a *huge* improvement.
>    Instead of ~15 secs, my testcase runs in fractions of a second.

Thanks for the testing! I'll submit the patch to SLE11 RC4.

[...]
> Ideally, the connection.receive() should handle the timeout and return
> either with a message (to be handled) or a timeout (shutdown service).

A good point, something for trunk/SP1...

> But coding DBus without glib seems to be black magic after all ... ;-)

Yes, even the DBus documentation says that ("If you use this low-level API 
directly,
you're signing up for some pain."). :-)


--

Best Regards

Ladislav Slezák
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o.                              e-mail: [email protected]
Lihovarská 1060/12                              tel: +420 284 028 960
190 00 Prague 9                                 fax: +420 284 028 951
Czech Republic                                  http://www.suse.cz/
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to