It's also worth remembering that multi-hop and after-the-fact priority inversion avoidance can happen. For example, if you take a mutex and then synchronously send an xpc message to another process, if a higher priority thread waits on the mutex then the thread in the other process needs to get boosted.
6 Likes