commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Quinane" <l...@nuix.com>
Subject Fix for race condition in forceMkdir
Date Mon, 18 May 2009 01:52:59 GMT
Hi,

 

If two processes or threads call forceMkdir() with the same directory there
is a chance that one will throw an IOException even though a directory was
correctly created (by the other process or thread). Attached is a small
patch to fix this problem.

 

 

Cheers,

 

 

Luke Quinane

 

Nuix

Ph: +61 2 9280 0699

Fax: +61 2 9212 6902

Web:  <http://www.nuix.com> http://www.nuix.com
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia     



 


Mime
View raw message