home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d5xx / d552 / taskpri.lha / TaskPri / TaskPri.doc < prev    next >
Text File  |  1991-10-28  |  4KB  |  98 lines

  1.  
  2.                              *****************
  3.               ***************   TaskPri Doc   ***************
  4.              *               **             **               *
  5.             *                 ***************                 *
  6.              *               **             **               *
  7.               ***************      V 1.00     ***************
  8.                              *****************
  9.  
  10. -------------------------------------------------------------------------------
  11.  
  12.    Function:  Lets the user change task priorities by giving the task name
  13.    --------   with its associated priority. Note that the name is case
  14.               sensitive and must be stated completely.  CLI only.
  15.  
  16.    Requirements:  Any Amiga with Kickstart 1.3 or 2.0.
  17.    ------------
  18.  
  19.    Author:  Steve Anderson
  20.    ------
  21.  
  22.    Date:  August 23, 1991
  23.    ----
  24.  
  25. ***************************************************************************
  26. *  This program and the accompanying source is freeware and can be used,  *
  27. *  altered and ripped however you like.  Enjoy!                           *
  28. ***************************************************************************
  29.  
  30.  
  31. -------------------------------------------------------------------------------
  32.  
  33.    Purpose:
  34.    -------
  35.  
  36. Why does this program exist?  Because it is needed.  I often wanted to
  37. change the priorities of tasks, but the AmigaDOS ChangeTaskPri command will
  38. only let you alter the priorities of the current CLI (at least the 1.3
  39. version).  Any other similar programs will only let you alter the pri's of
  40. active shells, not individual sub-tasks.  The monitors like Amiga Realtime
  41. Monitor are great if you want to do it once, but what if you want to change
  42. the priority of a task permanently ... that's where TaskPri comes in.
  43.  
  44.    For example, if you always want to boot up with 'RexxMaster' having
  45. a priority of 8 instead of 4, you would place the following command in your
  46. startup-sequence:
  47.  
  48.    TaskPri RexxMaster 8
  49.  
  50. TaskPri can also handle different tasks with identical names.  Say you
  51. wanted to change the priority of the second 'trackdisk.device' from 5 to
  52. 10, but leave the first one alone.  Then use this command:
  53.  
  54.    TaskPri trackdisk.device 5 trackdevice 10
  55.  
  56. In fact, you should be able to set the priorities of as many tasks as you
  57. like on the one command line, up to a limit of 60 tasks!  And if you need
  58. more, just invoke TaskPri again!  I doubt anyone will be running more than
  59. 60 tasks with the same name so this limit should be more than enough.
  60.  
  61.  
  62. -------------------------------------------------------------------------------
  63.  
  64.    Template:
  65.    --------
  66.  
  67.    TaskPri   ;***  displays all tasks and their priorities
  68.  
  69.    TaskPri ?   ;***  template/usage
  70.  
  71.    TaskPri NAME PRI [ [NAME PRI] ... ]   ;***  change task pri and show change
  72.  
  73.  
  74. -------------------------------------------------------------------------------
  75.  
  76.    Info:
  77.    ----
  78.  
  79. This program was typed in CygnusEd Professional, compiled with
  80. SAS/C v5.10a, and debugged with the CodeProbe Debugger all through an ARexx
  81. integrated environment.  I would like to optimize the size by rewriting
  82. some of the routines in assembler, but that depends on time ...
  83.  
  84.  
  85.  
  86. -------------------------------------------------------------------------------
  87.  
  88. If you have any questions, comments or ideas my address is;
  89.  
  90.                            Steve Anderson
  91.                            58 GrayStone Drive
  92.                            Hamilton, Ontario
  93.                            L9C 4R8
  94.                            CANADA
  95.  
  96.  
  97. -------------------------------------------------------------------------------
  98.