home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 632.lha / TaskX_v3.0 / TaskX.doc.pp / TaskX.doc
Text File  |  1992-05-20  |  5KB  |  124 lines

  1.  
  2. ************************************************************************
  3.  
  4.                 TaskX 3.0
  5.  
  6.                  by Steve Tibbett
  7.  
  8. ************************************************************************
  9.  
  10.  
  11. INTRODUCTION
  12.  
  13. TaskX is a program for manipulating task priorities.  At least,
  14. that's how it started.  TaskX 3.0 still shows you a list of tasks
  15. running in your system, and lets you change the priority of any of
  16. them, but it will also let you easily send signals to them (some
  17. tasks will exit when a Ctrl-C signal is sent to them for example),
  18. and lets you see much more information than just the priority.
  19.  
  20. INSTALLATION
  21.  
  22. TaskX isn't something that you would normally run all the time.  To
  23. start TaskX, double-click it's icon, or run it like any other program
  24. from the CLI.  TaskX takes no options and has no tooltypes.
  25.  
  26. OPERATION
  27.  
  28. TaskX's main display is a list of tasks, with 5 buttons at the bottom
  29. and a string gadget where you can type in a number.  The buttons
  30. marked "^c", "^d", "^e" and "^f" will send those signals (Ctrl-C
  31. signal, Ctrl-D signal etc) to the task.  The string gadget will take
  32. the number you type in and if you have a selected task, will change
  33. that task's priority to the value you entered.
  34.  
  35. When you select a task, if it's name changes, the task will move in
  36. the list but will remain selected.  If the hilited task suddenly
  37. moves, you know what happened.
  38.  
  39. The gadget on the bottom right, which says "Priority" when you run
  40. TaskX, will cycle through other labels when you click on it.  This
  41. controls what information about a task you are looking at - this
  42. information can be useful, but most people can simply ignore it.
  43. No matter what set of information you are looking at, the string
  44. gadget will still change the task priority - you cannot change
  45. anything about a task except it's priority (and send it signals).
  46. Task priorities range from 127 to -128.
  47.  
  48. When you are looking at the task list, TaskX is using some of your
  49. CPU time to keep the task list up to date.  Holding down the right
  50. mouse button when looking at the task list will make TaskX
  51. continually update the task list, instead of doing it approximately
  52. twice a second.  This takes much more CPU time, but is useful in some
  53. rare situations.
  54.  
  55. If you click in the window Zoom gadget (the gadget next to the sizing
  56. gadget), TaskX will turn into just a title bar.  It uses no CPU time
  57. this way.  The best way to keep TaskX available is to add it to your
  58. Tools menu using "ToolsX", another one of my programs.
  59.  
  60. ABOUT TASK PRIORITIES (or, What's this program good for anyway?)
  61.  
  62. Every task on the Amiga has a priority.  It's priority determines
  63. whether or not it will run when it has a chance to.  However, if a
  64. task decides to give up the CPU, a lower priority task will run even
  65. though it isn't the highest priority.  If you have two tasks, one at
  66. priority 1 and one at priority 2, and neither of them gives up the
  67. CPU, then the task at priority 1 will never run.  (On some systems,
  68. it would just get less CPU than the one at 2, but not so on the
  69. Amiga).  
  70.  
  71. So you should be careful about how you assign your task priorities.
  72. The most common use for TaskX is to take a CPU hog and move it's
  73. priority down, or to move up the priority of some interactive
  74. process, like a text editor.  Moving a raytrace down to -1 will mean
  75. that anything you do in the foreground (ie, running a terminal
  76. program or typing into a text editor) will be more responsive, while
  77. the ray tracer will still run at full speed when you aren't doing
  78. anything in the terminal or in the editor.
  79.  
  80. The task 'input.device' is normally at priority 20.  This is the task
  81. that moves the mouse around and deals with all sorts of input.  Be
  82. _very_ sure you know what you are doing if you ever move it down, or
  83. ever move another task above it.  Even CPU-intensive tasks will
  84. occasionally allow a lower-priority task to run when they do disk IO.
  85. An example of this is a ray tracer that writes the results of it's
  86. tracing to disk after every scanline - so if you do make a mistake
  87. and put the ray tracer higher than it should have been, you can move
  88. it back down (in time) and things will get back to normal.
  89.  
  90. NOTE ABOUT SIGNALS
  91.  
  92. Many programs ignore the signals.  The Ctrl-C signal is normally used
  93. to mean Break, and most of my programs and many others will shut down
  94. when a Ctrl-C signal shows up.  If you are writing a program, please
  95. consider quitting when you see this signal.
  96.  
  97. DISTRIBUTION
  98.  
  99. TaskX is Copyright 1992 Steve Tibbett.  Noncommercial distribution is
  100. permitted, commercial distribution is allowed only if permission is
  101. obtained from the author.
  102.  
  103. THE AUTHOR
  104.  
  105. TaskX is writen by Steve Tibbett.  You can reach me electronically by
  106. sending mail to:
  107.  
  108.     SteveX                (Portal)
  109.     SteveX@cup.portal.com        (UseNet)
  110.     s.tibbett            (Bix)
  111.     72627,1325            (Compuserve)
  112.  
  113. or you can call my BBS at (613) 731-3419, or call me voice at 
  114. (613) 731-5316 (evenings only, please).  If you want to write to me,
  115. you can, but I rarely have time to answer mail (though I do read it
  116. all).  I live at:
  117.  
  118.     Steve Tibbett
  119.     2710 Saratoga Pl. #1108
  120.     Gloucester, ON
  121.     K1T 1Z2 Canada
  122.  
  123. Thanks for using TaskX.
  124.