[OpenMap Users] SpacialIndex synchronization problem

From: F.Bayliss <bayliss_at_alcatel-lucent.com>
Date: Fri, 01 Jun 2007 12:17:08 -0400


Okay, I'm no expert on this code but I had to add a synchronized(ssx) {)
block around the code in locateRecords() to protect concurrent access to

The reason is I had changed locateRecords to public (my copy) so I could
make use of this function in determining when a layer is visible to the
screen. When the function returned an empty array I knew not to display
the layer. The problem I found was ssx was changing in other threads
while I was access this function in my thread.

I just thought I'd let people know.


[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 Fri Jun 01 2007 - 12:18:02 EDT

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