mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
overlays: remove unused threadpool
This commit is contained in:
parent
144c20649f
commit
982856e70d
2 changed files with 2 additions and 19 deletions
|
@ -157,20 +157,6 @@ namespace rsx
|
||||||
{
|
{
|
||||||
// Force unload
|
// Force unload
|
||||||
exit.release(true);
|
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);
|
pad::SetIntercepted(false);
|
||||||
|
|
||||||
|
|
|
@ -79,9 +79,6 @@ namespace rsx
|
||||||
|
|
||||||
std::function<void(s32 status)> on_close;
|
std::function<void(s32 status)> on_close;
|
||||||
|
|
||||||
shared_mutex m_threadpool_mutex;
|
|
||||||
std::list<std::thread> m_workers;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
s32 return_code = CELL_OK;
|
s32 return_code = CELL_OK;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue