geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan D. Cabrera" <...@toolazydogs.com>
Subject RE: Is SubsystemRouter thread safe?
Date Thu, 29 Jan 2004 01:13:16 GMT
No problems, just wondering if it was safe.


Regards,
Alan

> -----Original Message-----
> From: Hiram Chirino [mailto:hiram@coredevelopers.net]
> Sent: Wednesday, January 28, 2004 6:15 PM
> To: geronimo-dev@incubator.apache.org
> Subject: Re: Is SubsystemRouter thread safe?
> 
> It's using a copy on write map.  We might need to a synchronized block
> on the read side still.  Are you having issues with it?  I've heard
but
> have not confirmed that If you have a machine with multiple processor
> caches the un-synchronized read of the map might be a problem since it
> could be looking at a real old cached copy of the map.
> 
> Hiram Chirino wrote:
> 
> > Yes it is.
> >
> > Cabrera, Alan wrote:
> >
> >> More specifically, can I have two TransportLoaders feeding into the
> >> same SubsystemRouter?
> >>
> >>
> >> Regards,
> >> Alan
> >>
> >>
> >>
> >> ----------------------------------------------------------------
> >>       Visit our Internet site at http://www.reuters.com
> >>
> >> Get closer to the financial markets with Reuters Messaging - for
more
> >> information and to register, visit
<http://www.reuters.com/messaging>
> >>
> >> Any views expressed in this message are those of  the  individual
> >> sender, except  where  the sender specifically states them to be
the
> >> views of The Reuters Group.
> >>
> >


Mime
View raw message