• Andreas Haas's avatar
    [platform] Stop worker threads when the platform terminates · 473fb7d6
    Andreas Haas authored
    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/774463Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#49412}
    473fb7d6
Name
Last commit
Last update
..
tracing Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...
default-background-task-runner.cc Loading commit data...
default-background-task-runner.h Loading commit data...
default-foreground-task-runner.cc Loading commit data...
default-foreground-task-runner.h Loading commit data...
default-platform.cc Loading commit data...
default-platform.h Loading commit data...
task-queue.cc Loading commit data...
task-queue.h Loading commit data...
worker-thread.cc Loading commit data...
worker-thread.h Loading commit data...