abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Duncan" <stephen.dun...@gmail.com>
Subject Re: FOM Interfaces and Thread Safety
Date Wed, 13 Sep 2006 21:53:58 GMT
On 9/13/06, James M Snell <jasnell@gmail.com> wrote:
> Currently the FOM Interface are not threadsafe.  For instance, if
> multiple threads try to call entry.setId(...) at the same time, it could
> cause some rather interesting results.  However, synchronizing the
> methods by default causes a very significant performance drop.  I
> propose that we simply take it as a given that the FOM objects are not
> threadsafe and that end developers, if they want to allow multiple
> threads to modify individual FOM objects, they must provide the
> necessary synchronization.
>
> - James
>

+1

-- 
Stephen Duncan Jr
www.stephenduncanjr.com

Mime
View raw message