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

Issue 1701001: Attach a "foreign" thread to NSPR as a "system" thread so that... (Closed)

Created:
10 years, 8 months ago by wtc
Modified:
9 years, 7 months ago
Reviewers:
agl
CC:
chromium-reviews
Visibility:
Public.

Description

Attach a "foreign" thread to NSPR as a "system" thread so that PR_Cleanup doesn't need to wait for it to terminate. This works around a problem with thread local storage destructors in the official Windows builds, which enable whole program optimization. R=agl BUG=40663 TEST=Run chrome.exe with the --use-nss-for-ssl option on Windows. Use SSL. Shut down Chrome. All chrome.exe processes should terminate. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=45059

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -1 line) Patch
M third_party/nss/README.chromium View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/nss/mozilla/nsprpub/pr/src/md/windows/w95thred.c View 1 chunk +1 line, -1 line 0 comments Download
A third_party/nss/patches/nspr-attach-as-system-thread.patch View 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
wtc
10 years, 8 months ago (2010-04-20 18:13:48 UTC) #1
agl
10 years, 8 months ago (2010-04-20 18:27:48 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698