[Openmcl-devel] Thread-safe hash table

Gail Zacharias gz at clozure.com
Wed Dec 4 11:24:57 PST 2013

All hash tables in ccl are thread-safe.

On Wed, Dec 4, 2013 at 2:04 PM, Paul Krueger <plkrueger at comcast.net> wrote:

> I need the equivalent of a static weak key hash-table; i.e.  thread safe
> with weak key references. As near as I can tell I probably have to use a
> lock to control all accesses, but I'm wondering if even that is adequate.
> Will everything work correctly if I try to access and/or update the hash
> table from one thread while GC is occurring in another?
> Is there a better way to think about and implement this?
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20131204/c9136b54/attachment.htm>

More information about the Openmcl-devel mailing list