[Ecls-list] hash-table implicit mp:lock
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Sun Jul 31 13:27:36 UTC 2011
On Thu, Jul 28, 2011 at 2:08 PM, Matthew Mondor <mm_lists at pulsar-zone.net>wrote:
> I noticed that ECL hash tables are automatically thread-synchronized
> using a lock. I was wondering if this was inspired from other
> implementations? Or does ECL itself need this other than for package
> hash tables?
I finally found some time to commit this. Hash tables, just like other
objects (arrays, lists, structures) are no longer implicitly locked. It is
the user's responsibility to ensure consistency of them all using locks,
mutexes or whatever other means he wishes to.
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ecl-devel