double registration of channels and sessions
Daan Hoogland <[email protected]> Tue, 26 Jul 2005 10:47:34 +0200
| Newsgroups | gmane.network.beep.beepcore.java.general |
|---|---|
| Message-ID | <[email protected]> |
LS, In the class SessionImpl, sessionListeners and channelListeners are registered in a LinkedList and in an array. The LinkedList is synchronised, but the code synchronising the array with the state of the linked list isn't. Does anyone know a good reason for this double registration? Or does anybody know how the library will break if the array (and the access to it) is removed? -- <insert value="your favorite astute quote" id="sigquote" /> ----------------------------- Daan Hoogland software architect ----------------------------- [email protected] 0620442544 www.luminis.nl ----------------------------- <or ref="sigquote" /> ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click