Make ThreadFactory non-copyable
commit5780d53bf9f44b98913273ddc76b2181d600ce52
authorGiuseppe Ottaviano <ott@meta.com>
Thu, 9 Feb 2023 08:20:10 +0000 (9 00:20 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 9 Feb 2023 08:20:10 +0000 (9 00:20 -0800)
tree9e0b217964960d2570cad73b7ac51fbf20ec20f9
parent26e2d5ca27b7cac2175152164c3e962be9910d3c
Make ThreadFactory non-copyable

Summary: Thread factories are already expected to be managed externally with a `shared_ptr`, so there's no point in supporting copyability and having to reason about shared state.

Reviewed By: Orvid

Differential Revision: D43089920

fbshipit-source-id: 5952a4c94e37fa72ab37094e8c8cb9433f08cad6
third-party/folly/src/folly/executors/thread_factory/ThreadFactory.h