On Sun, 31 Jul 2011 15:27:36 +0200 Juan Jose Garcia-Ripoll <[email protected]> wrote:
> On Thu, Jul 28, 2011 at 2:08 PM, Matthew Mondor > <[email protected]>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. I reviewed the changes and afterwards gave HEAD ECL a test; When doing tests with SLIME the following was caught: lsp/trace.lsp:277: (*step-functions* (make-hash-table :size 128 :test 'eq :lockable t))) I also noticed in the same grep: c/symbols_list.h:1371:{KEY_ "LOCKABLE", KEYWORD, NULL, -1, OBJNULL}, c/symbols_list2.h:1371:{KEY_ "LOCKABLE",NULL}, Thanks, -- Matt ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Ecls-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ecls-list
