Index: [thread] [date] [subject] [author]
  From: becka@rz.uni-duesseldorf.de
  To  : ggi-develop@eskimo.com
  Date: Sat, 12 Sep 1998 04:36:12 +0200 (MEST)

Re: SYNC mode should go

> Sorry, there IS a big problem in mansync[*] mode -- code complexity. More
> specifically, having to lock down things correctly.  (You'll have to ask
> mentalguy for the gory details.)
> 
> You could say the problem is really with the signals, and mansync should use
> threads instead -- but this can be recreated easily in the app too:

This does not save you the locking for all targets. If you have threadsafe
versions of some helper lib, all is well. But other than that, this might
create a big mess.

If thread A is in the middle of sending a command to its backend (on which
it displays) and thread B does the flush(), those calls might mix up and
produce some funny protocol error a la "DrawFlushPixel".

CU,ANdy

-- 
= Andreas Beck                    |  Email :  <andreas.beck@ggi-project.org> =

Index: [thread] [date] [subject] [author]