Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Issue 11794048: Fix race condition in Directory.create. (Closed)

Created:
7 years, 11 months ago by Bill Hesse
Modified:
7 years, 11 months ago
Reviewers:
Søren Gjesse
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix race condition in Directory.create. BUG=https://code.google.com/p/dart/issues/detail?id=7679 Committed: https://code.google.com/p/dart/source/detail?r=16842

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -13 lines) Patch
M runtime/bin/directory_android.cc View 1 chunk +6 lines, -1 line 0 comments Download
M runtime/bin/directory_linux.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M runtime/bin/directory_macos.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M runtime/bin/directory_win.cc View 1 chunk +5 lines, -4 lines 0 comments Download
A tests/standalone/io/directory_create_race_test.dart View 1 chunk +43 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Bill Hesse
I chose to remove the early check that a directory exists, before creating it, because ...
7 years, 11 months ago (2013-01-08 16:35:17 UTC) #1
Søren Gjesse
7 years, 11 months ago (2013-01-09 07:26:53 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698