Re: asynchronous libgnomecups implementation

Jody Goldberg <[email protected]> Mon, 21 Jun 2004 09:38:08 -0400
Newsgroups gmane.comp.gnome.print
Message-ID <[email protected]>
On Fri, Jun 18, 2004 at 07:50:19PM -0400, Colin Walters wrote:
> [ seeing how many times I can follow up to myself ;) ]
> 
> Ok, I was noticing a little bit of slowness with the patch, and I
> realized that in the case where a request was started on a server which
> already had an outstanding request in progress, the main thread would
> grab a mutex (to increment the connection refcount) which would wait
> until the request completed from the other thread.  I fixed this by just
> using glib atomic integers for refcounts.
> 
> Scrolling the print dialog now feels quite consistently smooth even for
> just our 8 printers here at the office.

This looks good.  Lets get it into CVS and we can do a release to
get more testing.