MacOS has a system for adjusting process priority based on what the user is doing. Whatever program is in the foreground is high-priority, and any programs that it calls with blocking mach-port-based IPC are temporarily promoted to the same priority. This helps quite a bit with responsiveness!
> I think macOS might
macOS is Unix. Specifically, it's a derivative of BSD.