DescriptionUse ExitProcess on Windows.
Even after joining threads, it is still possible for the exit code to be
polluted. NaCL uses ExitProcess to avoid this problem:
https://code.google.com/p/chromium/codesearch#chromium/src/native_client/src/shared/platform/win/nacl_exit.c
This change also cleans up thread local storage for the last Thread.
BUG=
R=iposva@google.com
Committed: https://github.com/dart-lang/sdk/commit/3563dc0fb0f9a597fe8119313aa788df6a2e9efb
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 6
Patch Set 4 : #Patch Set 5 : Add noreturn to Platform::Exit" #
Total comments: 2
Patch Set 6 : Add comment #
Messages
Total messages: 9 (2 generated)
|