You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "David J. M. Karlsen" <da...@davidkarlsen.com> on 2005/05/24 02:03:56 UTC

[Math] org.apache.commons.math.stat.descriptive.DescriptiveStatisticsImpl threadsafe?

Are instances of       
org.apache.commons.math.stat.descriptive.DescriptiveStatisticsImpl 
thread-safe?


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


Re: [Math] org.apache.commons.math.stat.descriptive.DescriptiveStatisticsImpl threadsafe?

Posted by Brent Worden <br...@worden.org>.
Sorry for the delay in responding.

In short, no, DescriptiveStatisticsImpl is not thread-safe. By design, we 
chose not to introduce thread semantics into the classes. This allows the 
library to be used in environments were thread management by the application 
is to be avoided.

This question has been posed before, so we will likely introduce something 
soon to address the need.

Brent

"David J. M. Karlsen" <da...@davidkarlsen.com> wrote in message 
news:42926F6C.9040602@davidkarlsen.com...
> Are instances of 
> org.apache.commons.math.stat.descriptive.DescriptiveStatisticsImpl 
> thread-safe? 



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