Isn't copy-on-write broken along with double-checked locking (under the 1.4- memory model)?
----- Original Message ----- From: "Leo Sutic" <[EMAIL PROTECTED]> To: "'Avalon Developers List'" <[EMAIL PROTECTED]> Sent: Thursday, February 26, 2004 8:27 AM Subject: RE: [RT] Notification pattern has interesting effects on IoC > > > > Not sure. In very 'busy' systems, it becomes a challange to > > write the 'hub', so that you don't need to synchronize the > > 'addListener' and 'fireEvent' parts, because otherwise it > > becomes a bottleneck. > > Listeners are added and removed comparatively rarely compared > to the number of fireEvent calls, so a copy-on-write list > can eliminate much synchronization. > > /LS > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
