[channels,drdynvc] set thread priority
This commit is contained in:
parent
ef4c1766d2
commit
3b895deb97
@ -1726,6 +1726,12 @@ static UINT drdynvc_virtual_channel_event_connected(drdynvcPlugin* drdynvc, LPVO
|
||||
goto error;
|
||||
}
|
||||
}
|
||||
if (!SetThreadPriority(drdynvc->thread, THREAD_PRIORITY_HIGHEST))
|
||||
{
|
||||
error = ERROR_INTERNAL_ERROR;
|
||||
WLog_Print(drdynvc->log, WLOG_ERROR, "SetThreadPriority failed!");
|
||||
goto error;
|
||||
}
|
||||
|
||||
error:
|
||||
return error;
|
||||
|
Loading…
Reference in New Issue
Block a user