Re: Fix for race condition in forceMkdir

2009-05-18 Thread Christian Grobmeier
Hi, of which project are you talking about? VFS? Please put the components name in your subject, like: [vfs] Fix for race condition in forceMkdir to be heard. The issue is not attached to the mail. Please make sure you additonally added it to a Jira issue. if there is none, please create one

Fix for race condition in forceMkdir

2009-05-17 Thread Luke Quinane
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 Nu