-
Notifications
You must be signed in to change notification settings - Fork 561
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce mutex scope in Servo thread (#3259)
Fixes occasional main thread starvation caused by repeatedly creating a lock_guard in the servo loop. Fairness is improved by removing the thread sleep rate from the lock scope.
- Loading branch information
1 parent
f47ecb5
commit b91e529
Showing
1 changed file
with
59 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters