-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
view: 📫 do not thrash
error_slot
mutex
`check_worker()` is called by almost every public interface in the view server, as a preliminary check that the worker task running in the background has not recorded an error of some kind. this commit makes a change to `check_worker()`, so that it does not need to frivolously acquire, release, and subsequently reacquire the mutex in the event of an error being stored in the slot. tracing events and documentation are also added to this function. x-ref: #3913
- Loading branch information
Showing
1 changed file
with
12 additions
and
19 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