From Switcher and MultiFinder, with Process Manager and Thread Manager in Classic Mac OS, to Pthreads, NSThreads, and Grand Central Dispatch.
thread
The CPU view in Activity Monitor is the starting point for tuning the performance of software. Here are its virtues, and a few vices to beware of when using it.
Swift 6 claims built-in support for writing asynchronous and parallel code. But these are very different, and that for multithreading appears elusive.
How Swift supports cooperative multitasking using async/await. How to call asynchronous code from within synchronous code, and does it also multithread code in parallel?
The general rule for allocating threads to P and E cores according to their QoS, with fine controls such as Game Mode, and frequency control.
Understanding terms, including process, thread and task. How the assigned Quality of Service, or QoS, is used to determine how threads are allocated to cores.
Code run in a lightweight Virtual Machine can’t take advantage of the Efficiency cores of the host Apple silicon Mac. How then does Sonoma handle its threads?
Trying to get a more coherent overview of the different paths to concurrent, asynchronous, and background task management in macOS. Draft for discussion.
The Greek Fates transferred to Norse legend, to Shakespeare’s three witches, even to Terry Pratchett. But you may have misread a lovely Velázquez.
Language has rich and precise mechanisms for dealing with time. Narrative painting is not without its tools, though.
