Path: utzoo!censor!geac!torsqnt!hybrid!scifi!bywater!uunet!overload!dillon From: dillon@overload.Berkeley.CA.US (Matthew Dillon) Newsgroups: comp.sys.amiga.programmer Subject: Re: How do we change the scheduler? (Was Re: Multitasking at home...) Message-ID: Date: 14 Jan 91 02:21:30 GMT References: <17210@cbmvax.commodore. <1991Jan10.130741.11570@ux1.cso.uiuc.edu> Organization: Not an Organization Lines: 39 In article <1991Jan10.130741.11570@ux1.cso.uiuc.edu> lrg7030@uxa.cso.uiuc.edu (Loren Rittle) writes: > ... >algorithm. More complex custom algorithms can be attached in a >straightforward manner, if required.'' I assume he means via >the SetFunction() function. Does anyone know exactly what must >be done to change the algorithm to support "aging" and some of >the other neat functions talked about (I mean, which function, not how >to change the algorithm)? Is the current system precisely described >anywhere? Could an Amiga developer get source to the pertinent >routines? (thought not :-(, I'll just use my commented EXEC >disassembly :-) Any pointer are most welcome, I can summarize if Look at the .FD files for exec.library ... you will note that there a about a half a dozen low vectors used to switch tasks, schedule, and deschedule them. This is what you would SetFunction() into. I've never done this myself so can't give you any info beyond that. >> Yup, I know it. To me, it looks like "true multitasking" is defined to >> exclude multifinder and similar hacks. I think that's silly. > >I agree with both of you :-) >Loren J. Rittle If it isn't preemptive, it isn't 'true' multitasking. If it *is* preemptive, it IS true multitasking. It is that simple. There is such a thing as non-preemptive multitasking, but to apply it to a computer with a large user community (i.e. beyond the workbench from whence it was created) is ludicrous. In the realm of public computing and public computers, multitasking must be preemptive. -- -Matt Matthew Dillon dillon@Overload.Berkeley.CA.US 891 Regal Rd. uunet.uu.net!overload!dillon Berkeley, Ca. 94708 USA