2017-12-12 23:23:57 +03:00
|
|
|
/*
|
2019-06-20 02:58:25 +03:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2017-12-12 23:23:57 +03:00
|
|
|
*
|
2019-06-20 02:58:25 +03:00
|
|
|
* This software may be used and distributed according to the terms of the
|
|
|
|
* GNU General Public License version 2.
|
2017-12-12 23:23:57 +03:00
|
|
|
*/
|
2019-10-11 15:26:59 +03:00
|
|
|
|
2017-12-12 23:23:57 +03:00
|
|
|
#pragma once
|
|
|
|
|
2018-08-03 23:08:37 +03:00
|
|
|
#include "eden/fs/utils/UnboundedQueueExecutor.h"
|
2017-12-12 23:23:57 +03:00
|
|
|
|
|
|
|
namespace facebook {
|
|
|
|
namespace eden {
|
|
|
|
|
|
|
|
// The Eden CPU thread pool is intended for miscellaneous background tasks.
|
2018-08-03 23:08:37 +03:00
|
|
|
class EdenCPUThreadPool : public UnboundedQueueExecutor {
|
2017-12-12 23:23:57 +03:00
|
|
|
public:
|
|
|
|
explicit EdenCPUThreadPool();
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace eden
|
|
|
|
} // namespace facebook
|