overlays: remove unused threadpool

This commit is contained in:
Nekotekina 2020-02-25 22:56:50 +03:00
parent 144c20649f
commit 982856e70d
2 changed files with 2 additions and 19 deletions

View file

@ -157,20 +157,6 @@ namespace rsx
{
// Force unload
exit.release(true);
{
reader_lock lock(m_threadpool_mutex);
for (auto& worker : m_workers)
{
if (std::this_thread::get_id() != worker.get_id() && worker.joinable())
{
worker.join();
}
else
{
worker.detach();
}
}
}
pad::SetIntercepted(false);

View file

@ -79,9 +79,6 @@ namespace rsx
std::function<void(s32 status)> on_close;
shared_mutex m_threadpool_mutex;
std::list<std::thread> m_workers;
public:
s32 return_code = CELL_OK;