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