On 22/07/11 12:49 +0200, Albert Cervera i Areny wrote: > A Divendres, 22 de juliol de 2011 11:27:19, Cédric Krier va escriure: > > On 22/07/11 10:45 +0200, Albert Cervera i Areny wrote: > > > A Dimarts, 19 de juliol de 2011 10:56:14, Cédric Krier va escriure: > > > > On 19/07/11 09:56 +0200, Borja LS wrote: > > > > > El 17/07/11 11:51, Cédric Krier escribió: > I agree. In Koo async calls are rarely used. They're used for the number of > pending requests and in wizards (in Qt only the main application thread can > update the GUI so we must do RPC calls async).
It is the same in GTK (it is because of MS Windows compatibility). We use "gobject.timeout_add" to post the call in the main queue. > What it would be very good is if we only blocked the current tab, so one > could > have a pending request per tab instead of per-application. Unfortunately that > probably requires too many changes but it would be a great improvement. But it will be no very nice graphically because the form will become grey. And I think it is better to have fast call and for long call like report it could be manage in a separate thread (if JSON-RPC becomes threadsafe). -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgpjfu280zwfI.pgp
Description: PGP signature
