View Single Post
  #1 (permalink)  
Old 02-28-2003
Ken Carpenter Ken Carpenter is offline
Registered User
 
 
Join Date: Feb 2003
Location: Vancouver, B.C., Canada
Posts: 31
FreezeMap Use Clarification

In the Freeze documentation in Section 16.3.1 (page 371), one paragraph reads:
Quote:
Next, the code instantiates the StringIntMap on the database. A Freeze map always assumes that it is the exclusive user of the database, and that all entries in the database were created by it. In other words, a database must be dedicated to a single Freeze map.
Why must a Freeze map assume that it is the exclusive user of the database? Why can't another thread (on the same machine or a different one) create a Freeze map for the same database? Particularly if the other thread(s) are only reading from the Freeze map.

Also, why must a Freeze map assume that it created all the entries in the database?

Thanks,


Ken Carpenter
Reply With Quote