-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/12/2010 09:15 AM, Simo Sorce wrote
Sorry I have to nack, to summarize the IRC discussion, the 50ms loop is
not really the best approach, a callback mechanism in the re-connection
code to which you can register and have pending requests queued (unless
they timeout meanwhile) and be pushed out once we reconnect is a better
approach and avoids having around a lot of calls that retry operations
every 50ms without any chance of success until re-connection is
performed.
Simo.
Ok, as also discussed on IRC, for 1.1 I will simply create
sbus_connection_send() such that it will return an error on
pending_reply=NULL.
- --
Stephen Gallagher
RHCE 804006346421761
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org/
iEYEARECAAYFAkuaTOMACgkQeiVVYja6o6N27ACfdtMOUVwFEAd01CM92ZLgXTu2
4ecAnRBu01z1nekSqF94UHAsf6U7x0dz
=N4Sa
-----END PGP SIGNATURE-----