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

Issue 11817020: Enable shared memory handle sharing in NaCl. (Closed)

Created:
7 years, 11 months ago by teravest
Modified:
7 years, 11 months ago
Reviewers:
bbudge, brettw
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Enable shared memory handle sharing in NaCl. The destructor for base::SharedMemory closes its handle on destruction. To keep a shared memory region alive after using it, we need to duplicate the handle. This uses dup(), which is available in native client. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176133

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M base/shared_memory_nacl.cc View 1 1 chunk +12 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
teravest
7 years, 11 months ago (2013-01-09 17:56:26 UTC) #1
bbudge
https://codereview.chromium.org/11817020/diff/1/base/shared_memory_nacl.cc File base/shared_memory_nacl.cc (right): https://codereview.chromium.org/11817020/diff/1/base/shared_memory_nacl.cc#newcode142 base/shared_memory_nacl.cc:142: return false; Should we log the error here, as ...
7 years, 11 months ago (2013-01-09 18:18:42 UTC) #2
teravest
https://codereview.chromium.org/11817020/diff/1/base/shared_memory_nacl.cc File base/shared_memory_nacl.cc (right): https://codereview.chromium.org/11817020/diff/1/base/shared_memory_nacl.cc#newcode142 base/shared_memory_nacl.cc:142: return false; On 2013/01/09 18:18:42, bbudge1 wrote: > Should ...
7 years, 11 months ago (2013-01-09 19:13:15 UTC) #3
bbudge
lgtm
7 years, 11 months ago (2013-01-09 20:13:00 UTC) #4
brettw
LGTM. It's a bit unfortunate how much code duplication there is between this and the ...
7 years, 11 months ago (2013-01-09 21:01:05 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/11817020/5001
7 years, 11 months ago (2013-01-10 17:21:24 UTC) #6
commit-bot: I haz the power
7 years, 11 months ago (2013-01-10 20:00:48 UTC) #7
Message was sent while issue was closed.
Change committed as 176133

Powered by Google App Engine
This is Rietveld 408576698