commit | bad23f6a001704bc287aa7038a87afc8f3d1e319 | [log] [tgz] |
---|---|---|
author | Brian Muramatsu <btmura@google.com> | Mon Dec 19 12:21:46 2011 -0800 |
committer | Brian Muramatsu <btmura@google.com> | Mon Dec 19 12:54:32 2011 -0800 |
tree | 1b884266f18895e58179cee64791cf00f0ffa5da | |
parent | 1348933b1d6df0386f9442c97af269bc9c702c0e [diff] |
Fix Build Race Condition One thread could see that the directory was not there and context switch to another thread that also doesn't see the directory and creates it. The other thread would then fail because mkDirs returns false if the directory exists... Change-Id: I8fa50acbcaf2637a89cb876e7bc4c544a5c9c1e7