mirror of
https://github.com/lemonade-sdk/mac_linuxgpu.git
synced 2026-11-22 23:57:31 -10:00
The driver's Stop, its power changes and NewUserClient were delivered on the session queue (the driver's default queue), and DriverKit runs a delivery on the thread every client's calls share, under its target queue: behind a session call that slept there, the driver's Stop could not be delivered, and neither could anything else. The driver's default queue is now a queue of its own. Stop and SetPowerState hand their session work to the session queue and return at once: Stop finishes later through FinishStop, as it already did after a session close, and a power change is acknowledged from the session queue (at once, or after its work, as before). Clients take the session queue itself as their owner's queue.