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

Issue 1134943003: Move thread from test/ to util/thread/. (Closed)

Created:
5 years, 7 months ago by erikwright (departed)
Modified:
5 years, 7 months ago
CC:
crashpad-dev_chromium.org, Sigurður Ásgeirsson, cpu_(ooo_6.6-7.5), robertshield
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 9

Patch Set 2 : Review feedback. #

Patch Set 3 : PCHECK fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -226 lines) Patch
M test/test.gyp View 1 chunk +0 lines, -4 lines 0 comments Download
D test/thread.h View 1 chunk +0 lines, -70 lines 0 comments Download
D test/thread.cc View 1 chunk +0 lines, -30 lines 0 comments Download
D test/thread_posix.cc View 1 chunk +0 lines, -44 lines 0 comments Download
D test/thread_win.cc View 1 chunk +0 lines, -45 lines 0 comments Download
M util/file/file_io_test.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + util/thread/thread.h View 1 4 chunks +5 lines, -8 lines 0 comments Download
A + util/thread/thread.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M util/thread/thread_log_messages_test.cc View 1 chunk +1 line, -1 line 0 comments Download
A + util/thread/thread_posix.cc View 2 2 chunks +6 lines, -9 lines 0 comments Download
A util/thread/thread_test.cc View 1 1 chunk +98 lines, -0 lines 0 comments Download
A + util/thread/thread_win.cc View 2 chunks +6 lines, -9 lines 0 comments Download
M util/util.gyp View 1 chunk +4 lines, -0 lines 0 comments Download
M util/util_test.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
erikwright (departed)
Mark, PTAL. There could be some discussion about how to do error handling in production ...
5 years, 7 months ago (2015-05-11 15:48:41 UTC) #2
Sigurður Ásgeirsson
Hey guys, why isn't this using base::Thread? Siggi
5 years, 7 months ago (2015-05-11 15:54:04 UTC) #4
Sigurður Ásgeirsson
Hey guys, why isn't this using base::Thread? Siggi
5 years, 7 months ago (2015-05-11 15:54:05 UTC) #5
scottmg
On 2015/05/11 15:54:05, Sigurður Ásgeirsson wrote: > Hey guys, > > why isn't this using ...
5 years, 7 months ago (2015-05-11 21:43:32 UTC) #6
scottmg
https://codereview.chromium.org/1134943003/diff/1/util/thread/thread_test.cc File util/thread/thread_test.cc (right): https://codereview.chromium.org/1134943003/diff/1/util/thread/thread_test.cc#newcode78 util/thread/thread_test.cc:78: Semaphore unblock_wait_thread(0); `unblock_wait_thread` makes it sound like a thread ...
5 years, 7 months ago (2015-05-11 21:52:00 UTC) #8
Robert Sesek
On 2015/05/11 21:43:32, scottmg wrote: > On 2015/05/11 15:54:05, Sigurður Ásgeirsson wrote: > > Hey ...
5 years, 7 months ago (2015-05-11 21:57:01 UTC) #9
Robert Sesek
https://codereview.chromium.org/1134943003/diff/1/util/thread/thread_posix.cc File util/thread/thread_posix.cc (right): https://codereview.chromium.org/1134943003/diff/1/util/thread/thread_posix.cc#newcode24 util/thread/thread_posix.cc:24: PCHECK(0 == rv); Use PCHECK_EQ here and on line ...
5 years, 7 months ago (2015-05-11 22:10:51 UTC) #10
erikwright (departed)
PTAL. https://codereview.chromium.org/1134943003/diff/1/util/thread/thread_posix.cc File util/thread/thread_posix.cc (right): https://codereview.chromium.org/1134943003/diff/1/util/thread/thread_posix.cc#newcode24 util/thread/thread_posix.cc:24: PCHECK(0 == rv); On 2015/05/11 22:10:51, Robert Sesek ...
5 years, 7 months ago (2015-05-13 15:27:50 UTC) #11
scottmg
lgtm https://codereview.chromium.org/1134943003/diff/1/util/thread/thread_test.cc File util/thread/thread_test.cc (right): https://codereview.chromium.org/1134943003/diff/1/util/thread/thread_test.cc#newcode85 util/thread/thread_test.cc:85: ASSERT_FALSE(join_completed.TimedWait(.1)); On 2015/05/13 15:27:49, erikwright wrote: > On ...
5 years, 7 months ago (2015-05-13 17:31:49 UTC) #12
erikwright (departed)
FYI - small fix for posix. https://codereview.chromium.org/1134943003/diff/1/util/thread/thread_posix.cc File util/thread/thread_posix.cc (right): https://codereview.chromium.org/1134943003/diff/1/util/thread/thread_posix.cc#newcode24 util/thread/thread_posix.cc:24: PCHECK(0 == rv); ...
5 years, 7 months ago (2015-05-13 18:05:46 UTC) #14
erikwright (departed)
5 years, 7 months ago (2015-05-13 18:06:02 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:60001) manually as
f357afc43e20b1e405dc06a59184f43feb71d9d0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698