mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Name some threads
This commit is contained in:
parent
c3c73c7e24
commit
cdfe3ee7c8
6 changed files with 25 additions and 7 deletions
|
|
@ -764,6 +764,8 @@ namespace np
|
|||
{
|
||||
auto worker_function = [trans_ctx = trans_ctx, req_id, this](std::unique_lock<shared_mutex> lock)
|
||||
{
|
||||
thread_base::set_name("NP Trans Worker");
|
||||
|
||||
auto res = trans_ctx->wake_cond.wait_for(lock, std::chrono::microseconds(trans_ctx->timeout));
|
||||
{
|
||||
std::lock_guard lock_threads(this->mutex_async_transactions);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue