mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
1a9f74b940
Summary: Update FuseChannel::startWorkerThreads() to return without doing anything if runState_ indicates that the FuseChannel is currently stopping. This addresses a race betwen startWorkerThreads() and the destructor. If the destructor is invoked in parallel with startWorkerThreads() the destructor can grab the state_ lock and clear out the workerThreads list first. This then causes problems when startWorkerThreads() runs and adds new threads to the workerThreads list, which then never get joined. Reviewed By: wez Differential Revision: D7253574 fbshipit-source-id: f2cac11f1e71e1a14e3f020368152e0f2948c625 |
||
---|---|---|
.. | ||
cli | ||
docs | ||
fs | ||
hooks | ||
integration | ||
py | ||
scripts | ||
third-party | ||
AUTODEPS | ||
DEFS |