mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-11 00:58:14 +08:00
Boosted priority of main synergy threads to be very high (highest
realtime priority). After some testing it appears that anything less than this can starve synergy in some circumstances, preventing it from forwarding messages to clients. This is a rather risky change since synergy can now virtually take over a system if it behaves badly. This change only affects windows systems since lib/arch of other platforms don't yet attempt to boost priority.
This commit is contained in:
@@ -40,7 +40,7 @@ void
|
||||
CPrimaryScreen::mainLoop()
|
||||
{
|
||||
// change our priority
|
||||
CThread::getCurrentThread().setPriority(-3);
|
||||
CThread::getCurrentThread().setPriority(-13);
|
||||
|
||||
// run event loop
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user