Re: asynchronous libgnomecups implementation



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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]