[PATCH] fonts: Fix refcounting for asynchronous font operations (#3040)

Keith Packard keithp at keithp.com
Mon Aug 9 13:05:32 PDT 2010


On Mon,  9 Aug 2010 15:20:20 -0400, Adam Jackson <ajax at redhat.com> wrote:
> When doing Xinerama, we'll dispatch font ops across all backend screens.
> If using a font server (such that some operations can sleep), we'll put
> the client to sleep once for each screen, but only wake up once, because
> we're trying to keep track of the sleep count in _each_ screen's
> closure.
> 
> Instead, just ask the core whether the client is already asleep.

This seems far to easy.

Reviewed-by: Keith Packard <keithp at keithp.com>

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100809/7e5c10c3/attachment.pgp>


More information about the xorg-devel mailing list