Skip to content

Commit

Permalink
Merge commit 'ea9ed42679cb8989eb692897b780085abd6e6ca0' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
maksis committed Dec 7, 2024
2 parents e84b63a + ea9ed42 commit 6d3c215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airdcpp-core/airdcpp/core/thread/Thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ void Thread::setThreadPriority(Priority p, ThreadHandleType aHandle) noexcept {
}

params.sched_priority = p;
if (pthread_setschedparam(threadHandle, p, &params) != 0) {
if (pthread_setschedparam(aHandle, p, &params) != 0) {
dcassert(0);
//throw ThreadException("Unable to set thread priority: " + SystemUtil::translateError(errno));
}
Expand Down

0 comments on commit 6d3c215

Please sign in to comment.