mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
[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;
|
goto error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!SetThreadPriority(drdynvc->thread, THREAD_PRIORITY_HIGHEST))
|
||||||
|
{
|
||||||
|
error = ERROR_INTERNAL_ERROR;
|
||||||
|
WLog_Print(drdynvc->log, WLOG_ERROR, "SetThreadPriority failed!");
|
||||||
|
goto error;
|
||||||
|
}
|
||||||
|
|
||||||
error:
|
error:
|
||||||
return error;
|
return error;
|
||||||
|
Loading…
Reference in New Issue
Block a user