Interesting bit of trivia. OS/2 brought pre-emtive multitasking to the PC in the 1990s (late 1980s if you used the earlier not-so-good versions). The OS schedules which apps got to use the CPU and for how long. When one app's time was up, it would take the CPU away and give it to the next app. This is the x86 protected mode you may have read about.
DOS was single-tasking. Whatever program was running got full control fo the CPU.
Windows and the Mac used cooperative multitasking - the OS would hand over control of the CPU to an app, and ask it to please be nice and give me back then CPU when you're done so I can give it to another app. If the app crashed while it had control of the CPU, it would never give back control and the entire OS would freeze (this is what gave Windows 3.x and Windows 9x its reputation for being prone to crashing - any program or driver crash became an OS crash).
Windows didn't get pre-emptive multitasking until NT, which went mainstream as Windows 2000. The Mac didn't get it until a couple years later in OS X. So OS/2 was a decade ahead of its time on desktop platforms. (Unix was designed from the get-go to be multi-user, so used pre-emptive multitasking in the 1970s.)