| Click here to select a new forum. |
| Pre Emptive Multitasking in Classic |
Posted by: Sloar on 2009-08-30 21:43:41 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
|
Posted by: porter on 2009-08-30 23:24:35 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.
|
Posted by: barana on 2009-08-30 23:41:40 @porter, sounds like 'the manager' for gs/os althought blended with multifinder a bit.
|
Posted by: macgeek417 on 2009-08-31 10:16:04 what is pre-emptive multitasking?
|
Posted by: Dog Cow on 2009-08-31 11:28:05 That's where an over-lord (the OS) decides how long each task is going to be able to run for. Contrast this to co-operative multitasking, wherein each task must specifically give up time to the next task.
|
Posted by: protocol7 on 2009-08-31 11:33:09 It's something the Amiga had long before MacOS 😛
|
Posted by: Dog Cow on 2009-08-31 11:46:32 That's because the Mac was keep it simple, stupid and only had 128k.
|
Posted by: Sloar on 2009-08-31 12:46:06 Porter I was under the impression that the standard threadlib was only co-operative multitasking.
|
Posted by: porter on 2009-08-31 13:59:47
Porter I was under the impression that the standard threadlib was only co-operative multitasking. 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.
On PowerPC they dropped the idea because it fell into the too-hard basket when you also had to include the mixed-mode-manager.
|
Posted by: barana on 2009-08-31 21:06:24
That's because the Mac was keep it simple, stupid and only had 128k. Yeah the amiga did it in 256kb in the a1000 in '85.
In sooo much ram!!!
|
Posted by: porter on 2009-08-31 21:38:29 Intel did pre-emptive multitasking on the lowly 8080 back in 1980.
|
Posted by: barana on 2009-08-31 22:34:19
Intel did pre-emptive multitasking on the lowly 8080 back in 1980. how? you have my interest,
was it with M/PM ? - would that have been dri?
|
Posted by: joshc on 2009-09-01 01:08:42 At the end of the day, such a control panel is not of much use without a rewritten Finder that's designed to take full advantage of pre-emptive multitasking. I have downloaded Respond, will give it a try in System 7.1 on my LC 475 soon.
|
Posted by: porter on 2009-09-01 01:51:57
was it with M/PM ? - would that have been dri? No, iRMX.
http://en.wikipedia.org/wiki/IRMX
|
Posted by: shred on 2009-09-01 03:23:00 I think I once ran NetBSD on an old Classic II (I think it needs a 68030). NetBSD gave the machine full pre-emptive multitasking. Shame it did away with the GUI and couldn't run any Mac software though.
|
Posted by: porter on 2009-09-01 10:20:20
NetBSD .... 68030. Shame it did away with the GUI NetBSD support X-Windows and your choice of OpenMotif, GNOME, KDE or whatever.
... and couldn't run any Mac software though. It never claimed it would. :🙂
|
Posted by: shred on 2009-09-02 01:39:57
NetBSD support X-Windows and your choice of OpenMotif, GNOME, KDE or whatever. 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.
|
| 1 |