commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <ebo...@apache.org>
Subject Re: [lang] new concurrency annotations
Date Tue, 18 Apr 2017 15:38:51 GMT
Le 18/04/2017 à 08:36, Gary Gregory a écrit :

> Thoughts?

I think I tend to prefer the JCIP style. ThreadingBehavior conflates the
notions of thread safety and immutability and intuitively I'd keep them
separate, even if they are often closely related. An object could be
immutable and not thread safe because it operates on an external
resource that doesn't work concurrently.

Emmanuel Bourg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message