[comp.sys.amiga.advocacy] How task priorities get changed from the Amiga CLI Re: How do we change the scheduler?

torrie@cs.stanford.edu (Evan J Torrie) (01/24/91)

xanthian@zorch.SF-Bay.ORG (Kent Paul Dolan) writes:

> torrie@cs.stanford.edu (Evan J Torrie) writes:
>>  "Some" can be configured?  Is there an all-purpose "nice" command?

>Not by that name, but, for example, I want my terminal emulator, which
>also handles downloads and uploads for me, to run at a higher priority
>(most of the time it is just waiting for keystrokes from me and using no
>cpu time, so a higher priority is OK, and I do need the higher priority to
>keep the download from missing characters when I _am_ running a download).

  What "real-time" OSes are there available for micros?  Modem
downloading/uploading is one example of a task for which you want to
say "Guarantee this task a timeslice every xxx milliseconds no matter
what the rest of the system is doing".  
  Apple has ROSE, a realtime OS which runs on their communications
boards (e.g. Ethernet/Token Ring) equipped with an on-card 68000 and a
MB or so of RAM, but I don't know how well that is taken advantage
of... 


>You can also change a task's priority while it is running, by using the "ps"
>command to learn its process ID, then using another form of the priority
>changing routine that uses that process ID:

>	changetaskpri 3 process 2

>and only affects the one process instead of all of them.

  Is there a Workbench interface to do this, instead of having to do
it from the CLI?

-- 
------------------------------------------------------------------------------
Evan Torrie.  Stanford University, Class of 199?       torrie@cs.stanford.edu   
"And remember, whatever you do, DON'T MENTION THE WAR!"

es1@cunixb.cc.columbia.edu (Ethan Solomita) (01/24/91)

In article <1991Jan23.230448.3211@Neon.Stanford.EDU> torrie@cs.stanford.edu (Evan J Torrie) writes:
>  What "real-time" OSes are there available for micros?  Modem
>downloading/uploading is one example of a task for which you want to
>say "Guarantee this task a timeslice every xxx milliseconds no matter
>what the rest of the system is doing".  

	Actually, I believe the Amiga does have "real-time"
multitasking if you include interrupts. As I remember interrupts
(which can be full programs) can be started on regular intervals
and given control until they release it. Often interrupts are
timed on the video signal.
	Anyone have more certain info.?
	-- Ethan


Why do the Reagans always fly together?

Because if they flew separately, and one crashed, the other would
have to talk to the children.

t22918@iti.org (Matt Ranney ) (01/24/91)

torrie@cs.stanford.edu (Evan J Torrie) writes:

>  Is there a Workbench interface to do this, instead of having to do
>it from the CLI?

Sure, there are a few programs that I know of: Xoper, TaskX, and ARTM.
I know that Xoper is on ab20, but I'm not sure about the other ones. All
of these have options for priority changes, and are very powerfull tools.
You can get yourself out of a held task by removing that task with one of
these programs.  You can also really screw yourself if you accidentally
remove something, or change a priority that shouldn't be changed.
I like the look of Xoper the best, and I like the pop-up feature, but
half the time, I can't get it to do what I want it to do.


--
Matt Ranney
t22918@ursa.calvin.edu