Temporary fix for spinning while waiting for sync

This commit is contained in:
Michael Jumper 2011-03-17 14:04:23 -07:00
parent 1b2c27ba96
commit 0a3a23f26e

View File

@ -376,6 +376,10 @@ void* __guac_client_output_thread(void* data) {
guac_flush(io); guac_flush(io);
} }
/* If sync threshold exceeded, don't spin waiting for resync */
else
guac_client_sleep(GUAC_SERVER_MESSAGE_HANDLE_FREQUENCY);
} }
/* If no message handler, just sleep until next sync ping */ /* If no message handler, just sleep until next sync ping */