mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
thread_t cleanup
This commit is contained in:
parent
be9a599beb
commit
d9403c2ed2
7 changed files with 40 additions and 94 deletions
|
@ -13,12 +13,6 @@ class thread_ctrl_t final
|
|||
// name getter
|
||||
const std::function<std::string()> name;
|
||||
|
||||
// true if assigned somewhere in TLS
|
||||
std::atomic<bool> assigned{ false };
|
||||
|
||||
// assign TLS (must be assigned only once)
|
||||
void set_current();
|
||||
|
||||
public:
|
||||
thread_ctrl_t(std::function<std::string()> name)
|
||||
: name(std::move(name))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue