DescriptionOn Windows, set current thread in TLS to NULL before deleting the thread.
This mimics the behavior of the pthreads destructor protocol:
"At thread exit, if a key value has a non-NULL destructor pointer, and the thread has a non-NULL value associated with that key, the value of the key is set to NULL, and then the function pointed to is called with the previously associated value as its sole argument."
BUG=
R=iposva@google.com
Committed: https://github.com/dart-lang/sdk/commit/44d4d84be8d53d4b108b06bf11cadb23d5ff528f
Patch Set 1 #
Total comments: 2
Messages
Total messages: 6 (1 generated)
|