3 ms·
Use one or more service threads to do most work off the UI thread.
by mpweiher 3y ago
Use one or more service threads to do most work off the UI thread.
- pavlov 3y agoYes, sure. Operating systems nowadays provide useful thread pool runtimes for this purpose, like Apple’s GCD. In no way does it mean that you don’t need an event loop because threads exist, as was the contention here.
- mpweiher 3y ago1. You don't need either thread pools or GCD for this. GCD generally makes things worse. 2. It absolutely does mean you don't need the main thread event loop for non UI-events.