Path: utzoo!attcan!uunet!tronsbox!tron1 From: tron1@tronsbox.UUCP (HIM) Newsgroups: comp.sys.amiga Subject: Re: OS 101 (more questions) Message-ID: <262201c3:6218.23comp.sys.amiga;1@tronsbox.UUCP> Date: 10 Apr 90 17:57:53 GMT References: <15003@snow-white.udel.EDU> <6363@umd5.umd.edu> Lines: 37 >Resp: 22 of 22 About: Re: OS 101 (more questions) >Author: [Steve Green] (*Masked*@umd5.umd.edu) > >-Can someone tell me how the Amiga scheduler works?? Does each process get >even time?? Priorities?? > All processes that are "ready to run" (not waiting on I/O or other events) are served with even time untill a higher priority task becomes ready yto run. >-Also, if one process is waiting for terminal I/O, is that process taken off >the queue for cpu time or is that cpu time wasted?? Programs that are waiting for events are taken off the queue. >-What primitives exist for a process to request more or less cpu time?? I defer .. (I dont really know well enough to answer.) > >--Are any of the OS functions a process?? That is, if a process decides to >hog the CPU, will the OS crash or get confused? They do not HOG the CPU -- that is what pre-emptive tasking means. OS processes (as such) run at a HIGH priority. It is possible to run a HOG process at a high enough priority that the system will SEEM to crash (I/O will be so slow that it would not respond) -- but the system is still sane and would be fine when that process completed. **************************************************************************** "I Am Possessed By Jimi Hendrix," Grandmother Reveals. Kenneth J. Jamieson: Xanadu Enterprises Inc. "Professional Amiga Software" {uunet , ddsw1}!tronsbox!tron1 origional text is Copryright 1990. Sysop, Romantic Encounters BBS - (201)759-8450 / (201)759-8568 ****************************************************************************