commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: [math] Mutable "Vector3D"
Date Fri, 24 Apr 2009 18:13:59 GMT
My view is that once it is immutable it is immutable.  Restoring mutability
is done by making a new copy and in the context of the applications I was
describing is essentially never done.

On Fri, Apr 24, 2009 at 10:39 AM, sebb <sebbaz@gmail.com> wrote:

> allow a programmer to make a mutable copy that
> >  is manipulated for a while destructively and then marked as immutable
> when
> >  it is exposed to the outside world.
>
> How does that work?
> Do threads have to get a shared read-lock or exclusive write-lock on the
> object?




-- 
Ted Dunning, CTO
DeepDyve

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message