|
Uses an open thread handle as the ThreadJoinId on Windows.
Also:
- Reaps exited threads in the thread pool before putting
a thread on the idle list so that a new arriving task
isn't blocked on a supposedly idle thread in the middle
of a join.
- Stops trying to join eventhandler threads on
Windows. Now that we're using the correct exit() call,
we probably don't have to worry about exit code pollution,
so joining the threads is unnecessary.
related #26400
R=asiva@google.com, iposva@google.com
Committed: https://github.com/dart-lang/sdk/commit/5f59a954f816ad0f46472eb4da05e714dbb7e117
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+118 lines, -121 lines) |
Patch |
|
M |
runtime/bin/eventhandler_win.cc
|
View
|
1
|
3 chunks |
+6 lines, -16 lines |
0 comments
|
Download
|
|
M |
runtime/bin/thread.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/bin/thread_android.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/bin/thread_linux.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/bin/thread_macos.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/bin/thread_win.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -21 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_impl_test.cc
|
View
|
1
2
3
|
5 chunks |
+1 line, -8 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_thread.h
|
View
|
1
2
3
|
4 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_thread.cc
|
View
|
1
2
3
|
3 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_thread_android.cc
|
View
|
1
2
3
|
1 chunk |
+11 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_thread_linux.cc
|
View
|
1
2
3
|
1 chunk |
+11 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_thread_macos.cc
|
View
|
1
2
3
|
1 chunk |
+11 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/os_thread_win.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/os_thread_win.cc
|
View
|
1
2
3
|
2 chunks |
+16 lines, -18 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_interrupter.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/thread_pool.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_pool.cc
|
View
|
1
2
3
|
5 chunks |
+28 lines, -9 lines |
0 comments
|
Download
|
|
M |
runtime/vm/thread_test.cc
|
View
|
1
2
3
4
|
3 chunks |
+13 lines, -11 lines |
0 comments
|
Download
|
Total messages: 14 (5 generated)
|