Expensive plugins

Jelmer Vernooij jelmer at samba.org
Tue Jun 1 21:09:06 BST 2010


On Tue, 2010-06-01 at 23:03 +0300, Alexander Belchenko wrote:
> John Arbash Meinel пишет:
> > Gordon Tyler wrote:
> >> Somewhat related to this, I was wondering why bzr explorer launches
> >> subprocesses for qbzr commands? Surely it would perform better and avoid
> >> command-line encoding issues if qbzr commands were invoked in-process?
> >> It would also avoid the weirdness on Mac where each qbzr command
> >> currently running appears as a separate icon in the Dock, in addition to
> >> the icon for bzr explorer itself.
> > 
> > Fairly different discussion, though probably worth having.
> > 
> > Short answer: process separation allowed them to avoid blocking the main
> > thread for gui updates. Also, bzrlib doesn't support multithreading
> > particularly well. (We generally avoid global objects, but multiple
> > users of a single Repository can have problems.)
> > 
> > I believe Gary has stated that he would like to avoid that, and has been
> > working on code to deal with it. (Having a dedicated GUI thread and a
> > dedicated Bzrlib thread, etc.)
> 
> Another reason is bzr-gtk. Explorer allowing to use bzr-gtk dialogs
> instead of qbzr ones.
Isn't it possible to display Qt and GTK+ windows from the same
application?

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20100601/656a2f74/attachment.pgp 


More information about the bazaar mailing list