summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-15 19:24:29 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-15 19:24:29 +0000
commit237529729bf9b6040a8dbde022e4b9c1f557cab2 (patch)
tree7bff6dc4848c34a57bc1da0ce30cf6a58b539848 /chrome
parent9c621c92cb46f0d9bd56e0bca9102a8a46994fd8 (diff)
downloadchromium_src-237529729bf9b6040a8dbde022e4b9c1f557cab2.zip
chromium_src-237529729bf9b6040a8dbde022e4b9c1f557cab2.tar.gz
chromium_src-237529729bf9b6040a8dbde022e4b9c1f557cab2.tar.bz2
rlz/mac: Make sure a crashing process doesn't leave a stale lockfile behind.
Don't use NSDistributedLock, which uses a lock that isn't cleaned up on unexpected program termination, and which strongly recommends to not call -breakLock (which makes this class fairly pointless). Instead, use a flock(), which is cleaned up by the OS on process exit. Suggested by shess@. BUG=141108 Review URL: https://chromiumcodereview.appspot.com/10823329 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151723 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
0 files changed, 0 insertions, 0 deletions