Thread
Pre Emptive Multitasking in Classic
Does anyone remember the control panel Respond? I found a download for it, http://download.cnet.com/Respond/3000-2094_4-3836.html
Its supposed to provide limited pre emptive multitasking to System 7 on up. Its also known as red shed threads and I belvieve I found the source code to it here,
http://rentzsch.com/trac/browser/trunk/Carbon?rev=88
Its supposed to provide limited pre emptive multitasking to System 7 on up. Its also known as red shed threads and I belvieve I found the source code to it here,
http://rentzsch.com/trac/browser/trunk/Carbon?rev=88
The standard ThreadsLib from Apple provides pre-emptive multitasking on 68k and it's a standard part of the operating system.
Programs have to be written to use it, and most of the operating itself will collapse in a heap if you try calling from pre-emptive threads.
Programs have to be written to use it, and most of the operating itself will collapse in a heap if you try calling from pre-emptive threads.
One 68k ThreadsLib happily supported pre-emptive multitasking. But you had to play the game and could only call interrupt safe MacOS APIs, which ruled out QuickDraw and anything that allocated memory. You could do plenty with device and network drivers.Porter I was under the impression that the standard threadlib was only co-operative multitasking.
On PowerPC they dropped the idea because it fell into the too-hard basket when you also had to include the mixed-mode-manager.
I should have explained myself better... this was back in 1997, NetBSD for a 68k Mac didn't have the same "bells and whistles" as its x86 counterpart. It was pretty much a bare bones *nix OS. Seemed really weird seeing white text on a black background on a Mac.NetBSD support X-Windows and your choice of OpenMotif, GNOME, KDE or whatever.
