From: Arno P. <ar...@pu...> - 2010-03-27 08:56:21
|
I like the idea of a general mechanism to add state to categories. This would be beneficial in different parts of XMLVM as well. I hope we can consolidate Gergely's and Panayotis' approach. @Panayotis: would you mind taking a look at Gergely's approach in the patch he submitted and report how your approach differs from his? I think we really need to move to smaller patches, otherwise these double effort situations will occur more often. Arno On 3/26/10 11:07 AM, Gergely Kis wrote: > Hi, > > Actually we did something very similar with the "synchronized" > implementation. > We needed to store locks for each method somewhere, and created > something called "XMLVMRegistry" which stores the locks for each object > that uses them. > > You can take a look at our approach in our patch, xmlvm.m and xmlvm.h. > It was not a generalized object store, but it can certainly be extended > in that direction. > > > Best Regards, > Gergely > > 2010/3/25 Panayotis Katsaloulis <pan...@pa... > <mailto:pan...@pa...>> > > > On 25 Μαρ 2010, at 3:44 μ.μ., Arno Puder wrote: > > > > > gimme, gimme! :-) > > > > These are two different things: support for weak references and > allowing > > additional state information for categories. Both would be > extremely useful! > > > > Arno > > > > > -- > Kis Gergely > MattaKis Consulting > Email: ger...@ma... <mailto:ger...@ma...> > Web: http://www.mattakis.com > Phone: +36 70 408 1723 > Fax: +36 27 998 622 > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |