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

Issue 2478473003: [d8] cleanly force exit in d8 on windows. (Closed)

Created:
4 years, 1 month ago by Yang
Modified:
4 years, 1 month ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[d8] cleanly force exit in d8 on windows. Using _exit on windows may cause race conditions in threads. BUG=chromium:603131 Committed: https://crrev.com/639f6f1774cd73d392284fa090ce012aebcaa363 Cr-Commit-Position: refs/heads/master@{#40789}

Patch Set 1 #

Total comments: 5

Patch Set 2 : wait for termination #

Patch Set 3 : fix #

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -10 lines) Patch
M src/d8.cc View 2 3 1 chunk +0 lines, -10 lines 0 comments Download
M src/d8-posix.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M src/d8-windows.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (16 generated)
Yang
4 years, 1 month ago (2016-11-04 09:53:49 UTC) #6
Michael Achenbach
lgtm with comments: https://codereview.chromium.org/2478473003/diff/1/src/d8-windows.cc File src/d8-windows.cc (right): https://codereview.chromium.org/2478473003/diff/1/src/d8-windows.cc#newcode14 src/d8-windows.cc:14: // Use _exit instead of exit ...
4 years, 1 month ago (2016-11-04 10:40:44 UTC) #7
Yang
https://codereview.chromium.org/2478473003/diff/1/src/d8-windows.cc File src/d8-windows.cc (right): https://codereview.chromium.org/2478473003/diff/1/src/d8-windows.cc#newcode14 src/d8-windows.cc:14: // Use _exit instead of exit to avoid races ...
4 years, 1 month ago (2016-11-04 11:54:17 UTC) #16
brucedawson
lgtm, with one caveat about a probably unnecessary wait. https://codereview.chromium.org/2478473003/diff/1/src/d8-windows.cc File src/d8-windows.cc (right): https://codereview.chromium.org/2478473003/diff/1/src/d8-windows.cc#newcode18 src/d8-windows.cc:18: ...
4 years, 1 month ago (2016-11-04 15:03:48 UTC) #17
brucedawson
I looked at the CRT source code, specifically the _invoke_watson function used when a constraint ...
4 years, 1 month ago (2016-11-04 16:01:46 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2478473003/60001
4 years, 1 month ago (2016-11-07 07:00:16 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-07 07:24:54 UTC) #22
brucedawson
lgtm
4 years, 1 month ago (2016-11-07 22:52:08 UTC) #23
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:24:04 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/639f6f1774cd73d392284fa090ce012aebcaa363
Cr-Commit-Position: refs/heads/master@{#40789}

Powered by Google App Engine
This is Rietveld 408576698