Chromium Code Reviews| Index: base/threading/sequenced_worker_pool.h |
| diff --git a/base/threading/sequenced_worker_pool.h b/base/threading/sequenced_worker_pool.h |
| index 7e04b071428c838dfcec0faa647f82baf2932045..95117f9b07e54a67fb170220030430c7c33cf1a0 100644 |
| --- a/base/threading/sequenced_worker_pool.h |
| +++ b/base/threading/sequenced_worker_pool.h |
| @@ -316,6 +316,12 @@ class BASE_EXPORT SequencedWorkerPool : public TaskRunner { |
| // Must be called from the same thread this object was constructed on. |
| void Shutdown(int max_new_blocking_tasks_after_shutdown); |
| + // Check if Shutdown was called for given threading pool. This method is used |
| + // for aborting time consuming operation to don't block shutdown. |
|
jar (doing other things)
2013/07/10 15:07:06
nit: typo:
"...to don't block shutdown." --> "...
Dmitry Polukhin
2013/07/10 17:24:22
Done.
|
| + // |
| + // Can be called from any thread. |
| + bool IsShutdownInProgress(); |
| + |
| protected: |
| virtual ~SequencedWorkerPool(); |