[OpenMap Users] Synchronization on graphic lists

From: Andrew Hnatiw <Andrew_Hnatiw_at_raytheon.com>
Date: Wed, 8 Sep 2004 17:12:12 -0400

I was wondering how code such as OMGraphicHandlerPlugIn can avoid
synchronization problems. It does not seem to ever sync on
the graphics list, so isn't it possible that the thread creating and
changing the list could access it at the same time that doPrepare,
getRectangle, or repaint are called? OpenMap does have multiple threads
initially, correct (?), since it has to have things to handle the GUI and
redraw the screen all "at the same time"?

I see how the GraphicLoader can help solve these problems, but am I
correct in thinking that graphics cannot be modified at all without fear
of synchronization errors when using just the OMGraphicHandlerPlugIn?


Andrew Hnatiw, Software Engineer
Raytheon IIS
Falls Church, VA 22042

[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Sep 08 2004 - 17:14:40 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT