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

Issue 9169016: mach_port_deallocate() the result of mach_thread_self(), which obtains a port send right. (Closed)

Created:
8 years, 11 months ago by Robert Sesek
Modified:
8 years, 11 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

mach_port_deallocate() the result of mach_thread_self(), which obtains a port send right. BUG=105513 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117127

Patch Set 1 #

Patch Set 2 : Add a test #

Patch Set 3 : Piggyback off the other test #

Total comments: 4

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -20 lines) Patch
M base/logging.cc View 1 3 chunks +2 lines, -17 lines 0 comments Download
M base/threading/platform_thread_posix.cc View 1 chunk +3 lines, -1 line 0 comments Download
M base/threading/platform_thread_unittest.cc View 1 2 3 4 5 chunks +17 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Robert Sesek
8 years, 11 months ago (2012-01-10 17:31:57 UTC) #1
Mark Mentovai
You know what you need? You need a test. It validate your code for you.
8 years, 11 months ago (2012-01-10 18:06:51 UTC) #2
Robert Sesek
On 2012/01/10 18:06:51, Mark Mentovai wrote: > You know what you need? You need a ...
8 years, 11 months ago (2012-01-10 19:07:19 UTC) #3
Mark Mentovai
LG. Maybe you can test even more: http://codereview.chromium.org/9169016/diff/7003/base/threading/platform_thread_unittest.cc File base/threading/platform_thread_unittest.cc (right): http://codereview.chromium.org/9169016/diff/7003/base/threading/platform_thread_unittest.cc#newcode64 base/threading/platform_thread_unittest.cc:64: Maybe put ...
8 years, 11 months ago (2012-01-10 19:13:46 UTC) #4
Robert Sesek
http://codereview.chromium.org/9169016/diff/7003/base/threading/platform_thread_unittest.cc File base/threading/platform_thread_unittest.cc (right): http://codereview.chromium.org/9169016/diff/7003/base/threading/platform_thread_unittest.cc#newcode64 base/threading/platform_thread_unittest.cc:64: On 2012/01/10 19:13:46, Mark Mentovai wrote: > Maybe put ...
8 years, 11 months ago (2012-01-10 19:17:58 UTC) #5
Mark Mentovai
http://codereview.chromium.org/9169016/diff/1003/base/threading/platform_thread_unittest.cc File base/threading/platform_thread_unittest.cc (right): http://codereview.chromium.org/9169016/diff/1003/base/threading/platform_thread_unittest.cc#newcode112 base/threading/platform_thread_unittest.cc:112: for (size_t i = 0; i < arraysize(thread); ++i) ...
8 years, 11 months ago (2012-01-10 19:24:45 UTC) #6
Robert Sesek
http://codereview.chromium.org/9169016/diff/1003/base/threading/platform_thread_unittest.cc File base/threading/platform_thread_unittest.cc (right): http://codereview.chromium.org/9169016/diff/1003/base/threading/platform_thread_unittest.cc#newcode112 base/threading/platform_thread_unittest.cc:112: for (size_t i = 0; i < arraysize(thread); ++i) ...
8 years, 11 months ago (2012-01-10 19:26:29 UTC) #7
Mark Mentovai
LGTM
8 years, 11 months ago (2012-01-10 19:26:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsesek@chromium.org/9169016/1007
8 years, 11 months ago (2012-01-10 19:27:02 UTC) #9
commit-bot: I haz the power
8 years, 11 months ago (2012-01-10 21:40:26 UTC) #10
Try job failure for 9169016-1007 (retry) on win_rel for step "ui_tests".
It's a second try, previously, step "ui_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698