commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Diggory <mdigg...@gmail.com>
Subject Re: [math] thread-safety of DescriptiveStatistics?
Date Thu, 07 Apr 2005 23:29:51 GMT
Your welcome, we've enjoyed building it. If you have any issues or 
encounter any bugs. Please be sure to let us know about them. - Mark Diggory

Baker, Anthony wrote:

>Thanks, that's what I suspected.  BTW, thanks for a well-done, easy to use
>library!
>
>Anthony
>
>  
>
>>No, I wouldn't expect it to be thread safe at this time. This design 
>>decision was made for performance reasons. Your best bet would be to 
>>wrap it in a thread safe wrapper to block your calls to externally:
>>
>>http://www.javaworld.com/jw-08-1998/jw-08-techniques-p5.html
>>
>>-cheers,
>>Mark Diggory
>>
>>Baker, Anthony wrote:
>>
>>    
>>
>>>Is DescriptiveStatistics safe to use in a multi-threaded environment?  I 
>>>have a statistics producer that is accessed by multiple threads and thus 
>>>simultaneous invocations of addValue() are likely.  Is this ok?  What 
>>>about changes to the window size?
>>>
>>>Any insight you can shed on the intended usage pattern is greatly appreciated.
>>>
>>>Thanks,
>>>Anthony
>>>      
>>>
>
>
>
>  
>


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


Mime
View raw message