diff options
author | Alon Zakai <alonzakai@gmail.com> | 2018-01-30 10:13:07 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-30 10:13:07 -0800 |
commit | 6bc97008eca2f8776f6fe4d480f3227d2a05a7c5 (patch) | |
tree | 1e52622d8862e9abefed182c7894f021c6f4d03e /src/passes/MergeBlocks.cpp | |
parent | 52f115f8ea66467d8c500fa9b03d2deb98eaafa2 (diff) | |
download | binaryen-6bc97008eca2f8776f6fe4d480f3227d2a05a7c5.tar.gz binaryen-6bc97008eca2f8776f6fe4d480f3227d2a05a7c5.tar.bz2 binaryen-6bc97008eca2f8776f6fe4d480f3227d2a05a7c5.zip |
Simplify ThreadPool::isRunning (#1391)
* simplify ThreadPool::isRunning: it doesn't need to be static and to go through the global unique_ptr
* it's undefined behavior to access the threadpool from a shutting down thread, as the parent is being destroyed
Diffstat (limited to 'src/passes/MergeBlocks.cpp')
0 files changed, 0 insertions, 0 deletions