commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <ebo...@apache.org>
Subject Re: Configuration - threading
Date Tue, 05 Apr 2005 15:25:33 GMT
The implementations are not synchronized, so you'll have to be careful 
with concurrent read/write. The only part that is synchronized is the 
reloading mechanism, you can't read a property when the configuration is 
being reloaded.

Emmanuel Bourg


WANG Qingtian wrote:
> A lot of newbie questions :)
> 
> How is the read/write isolation issue handled in terms of 
> multi-threading? Say if some thread writes to the configuration file 
> while another is reading it....
> 
> Thanks!
> Qingtian

---------------------------------------------------------------------
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