3 ms·
MacOS had non-preemptive multitasking, what meant that a progam would only have a chance to transfer data once all other programs released the CPU. The default
by marcosdumay 13y ago
MacOS had non-preemptive multitasking, what meant that a progam would only have a chance to transfer data once all other programs released the CPU. The default develoment suite also had several loops were it wouldn't release the CPU, there are some stories around about MacOS servers that stopped serving content because somebody left forcus on the wrong element, or left the mouse on a menu on some application.
But both OS X and iOS are preemptive. Networking just keeps working, but your interface thread may stop for a while depending on how you write your programs.
- vidarh 13y agoThat's not what he is saying. OS level networking keeps working. But an application that processes network events in the same context as it is processing UI events will cause its network related stuff to halt in some instances. That's not the OS's fault; that's "just" bad programmers, and just as trivial to do wrong on Linux or any other OS.