v8/src/libplatform
Andreas Haas 473fb7d6af [platform] Stop worker threads when the platform terminates
In principle it should be possible that worker threads continue their
execution even after the platform shuts down, because the background
tasks which execute on these threads are not allowed to access the
platform or the the isolate. However, the CompileTasks of the
OptimizingCompileDispatcher crash after the platform shut down. This CL
stops worker threads now when the platform shuts down to prevent any
task to execute after the shutdown of the platform.

R=rmcilroy@chromium.org
CC=machenbach@chromium.org

Change-Id: I3a723c3f6e875f78072600c3c3b95faad3d0ab32
Reviewed-on: https://chromium-review.googlesource.com/774463
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49412}
2017-11-16 13:15:36 +00:00
..
tracing Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00
default-background-task-runner.cc [platform] Stop worker threads when the platform terminates 2017-11-16 13:15:36 +00:00
default-background-task-runner.h Reland "[platform] Implement TaskRunners in the DefaultPlatform" 2017-11-15 12:35:54 +00:00
default-foreground-task-runner.cc Reland "[platform] Implement TaskRunners in the DefaultPlatform" 2017-11-15 12:35:54 +00:00
default-foreground-task-runner.h Reland "[platform] Implement TaskRunners in the DefaultPlatform" 2017-11-15 12:35:54 +00:00
default-platform.cc Reland "[platform] Implement TaskRunners in the DefaultPlatform" 2017-11-15 12:35:54 +00:00
default-platform.h Reland "[platform] Implement TaskRunners in the DefaultPlatform" 2017-11-15 12:35:54 +00:00
DEPS
OWNERS Remove myself from non-toplevel owners files 2017-06-28 10:00:48 +00:00
task-queue.cc Reland "[platform] Implement TaskRunners in the DefaultPlatform" 2017-11-15 12:35:54 +00:00
task-queue.h Reland "[platform] Implement TaskRunners in the DefaultPlatform" 2017-11-15 12:35:54 +00:00
worker-thread.cc Reland "[platform] Implement TaskRunners in the DefaultPlatform" 2017-11-15 12:35:54 +00:00
worker-thread.h Turn libplatform into a component 2016-10-10 08:52:06 +00:00