Re: Whiteboard cacheing
- From: Alexander Larsson <alexl redhat com>
- To: David Malcolm <dmalcolm redhat com>
- Cc: "yarrr-list gnome org" <yarrr-list gnome org>
- Subject: Re: Whiteboard cacheing
- Date: Mon, 02 May 2005 11:25:41 +0200
On Fri, 2005-04-29 at 12:03 -0400, David Malcolm wrote:
> On Fri, 2005-04-29 at 11:25 +0200, Alexander Larsson wrote:
> >
> > In fact, since after drawing a stroke the client is guaranteed to
> > request it i think it would make sense to render the initial versions in
> > the addStroke method call to avoid races for in what order to draw
> > thumbnail/full image.
> Were there really races? I thought I'd made all of the whiteboard
> methods that accessed the cache synchrnoized
The race would be on a larger scale:
Both the drawing client and a displaying client gets told of the change,
and both requests an update. If the displaying client request gets
through first it'll request the thumbnail, which doesn't redraw the full
image, when the drawing clients request for the full image gets through
we then have to redraw the image again.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a world-famous day-dreaming farmboy on the run. She's a provocative
snooty snake charmer from a family of eight older brothers. They fight crime!
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]