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:
crs
2003-05-03 12:37:03 +00:00
parent 42ea6306f6
commit 8d9134f93a
3 changed files with 44 additions and 27 deletions

View File

@@ -40,7 +40,7 @@ void
CPrimaryScreen::mainLoop()
{
// change our priority
CThread::getCurrentThread().setPriority(-3);
CThread::getCurrentThread().setPriority(-13);
// run event loop
try {