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

Issue 204024: posix: clean up shared memory code (Closed)

Created:
11 years, 3 months ago by Evan Martin
Modified:
9 years, 7 months ago
Reviewers:
agl
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

posix: clean up shared memory code At first I rewrote this to use the shm_*() family of functions, but that doesn't work on OS X. Now I've just cleaned up some bits and added an extra print to help with the below bug. BUG=16371

Patch Set 1 #

Total comments: 6

Patch Set 2 : fixed #

Patch Set 3 : scoped #

Total comments: 1

Patch Set 4 : ugh #

Patch Set 5 : mac fixes #

Patch Set 6 : FFFFFFFFFFFFFUUUUUUUUUUUUUUUUUUU #

Patch Set 7 : redone #

Patch Set 8 : ok #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -18 lines) Patch
M base/shared_memory.h View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M base/shared_memory_posix.cc View 1 2 3 4 5 6 7 7 chunks +18 lines, -16 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Evan Martin
11 years, 3 months ago (2009-09-15 19:15:32 UTC) #1
agl
http://codereview.chromium.org/204024/diff/1/3 File base/shared_memory_posix.cc (right): http://codereview.chromium.org/204024/diff/1/3#newcode145 Line 145: if (file == EEXIST) Wouldn't file == -1 ...
11 years, 3 months ago (2009-09-15 19:26:05 UTC) #2
Evan Martin
new upload; clicking "delta from patch set 1" will show all the changes from the ...
11 years, 3 months ago (2009-09-15 19:31:27 UTC) #3
agl
LPGTM http://codereview.chromium.org/204024/diff/5001/8 File base/shared_memory_posix.cc (right): http://codereview.chromium.org/204024/diff/5001/8#newcode152 Line 152: shm_unlink(mem_name.c_str()); If (file < 0), you're unlinking ...
11 years, 3 months ago (2009-09-15 19:34:13 UTC) #4
Evan Martin
this is the patch you looked at last night
11 years, 3 months ago (2009-09-16 17:32:02 UTC) #5
agl
11 years, 3 months ago (2009-09-16 17:34:09 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698