[blink scheduler] Add blink::Thread::ThreadHandle.
The thread handle should be used instead of the thread id for thread manipulations. It is available immediately after thread creation, unlike the thread id which is available only after the main function is entered. Also, on Windows, the thread handle remains valid after the thread has exited. This is a prerequisite to remove the wait after compositor thread initialization https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/platform/scheduler/common/thread.cc;l=96;drc=5b1ca7b1087e13d963bc4058d9406a838fb7f9ca Bug: 1080709 Change-Id: Ia0b72aa1b3a86454cffa774131944db87ced0843 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2578172Reviewed-by:Alexander Timin <altimin@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Gabriel Charette <gab@chromium.org> Commit-Queue: Kentaro Hara <haraken@chromium.org> Auto-Submit: François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#835544}
Showing
Please register or sign in to comment