home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / v21 / 122.a < prev    next >
Internet Message Format  |  1990-12-05  |  2KB

  1. From std-unix-request@uunet.uu.net  Fri Sep 21 13:19:38 1990
  2. Received: from cs.utexas.edu by uunet.uu.net (5.61/1.14) with SMTP 
  3.     id AA15461; Fri, 21 Sep 90 13:19:38 -0400
  4. Posted-Date: 21 Sep 90 13:47:37 GMT
  5. Received: by cs.utexas.edu (5.64/1.76) 
  6. From: willcox@urbana.mcd.mot.com (David A Willcox)
  7. Newsgroups: comp.std.unix
  8. Subject: Re: Standards Update, IEEE 1003.2: Shell and tools
  9. Message-Id: <532@usenix.ORG>
  10. References: <530@usenix.ORG>
  11. Sender: jsq@usenix.ORG
  12. Organization: Motorola Microcomputer Division, Urbana, IL
  13. X-Submissions: std-unix@uunet.uu.net
  14. Date: 21 Sep 90 13:47:37 GMT
  15. Reply-To: std-unix@uunet.uu.net
  16. To: std-unix@uunet.uu.net
  17.  
  18. Submitted-by: willcox@urbana.mcd.mot.com (David A Willcox)
  19.  
  20. In article <530@usenix.ORG> jsh@usenix.org (Jeffrey S. Haemer) writes:
  21.  
  22. >A few utilities remain contentious:
  23.  
  24. >   + nice, renice: These require underlying functionality absent from
  25. >     POSIX.1, although POSIX.4 has setscheduler(), which allows
  26. >     applications to set priority and scheduling algorithms.
  27.  
  28. A point of clarification:  These utilities, as defined in 1003.2a,
  29. do NOT require any functionality that is not in 1003.1.  Both can be
  30. implemented on a bare-bones 1003.1 system as having no effect on 
  31. execution priority.  The following, for example, is a valid
  32. shell script implementation of nice:
  33.  
  34.     case $1 in
  35.         -n) shift;shift;;
  36.         -*  shift;;
  37.     esac
  38.     exec $*
  39.  
  40. renice is a little more complicated, but not much.  (It should just have
  41. to check for valid arguments.)
  42.  
  43. So saying that you can't implement this on a 1003.1 system is not only
  44. a red herring, it simply isn't true.
  45.  
  46. Providing these utilities allows well-mannered applications to make use
  47. of the priority manipluation features that are already provided by most
  48. implementations.
  49.  
  50. David A. Willcox        "Just say 'NO' to universal drug testing"
  51. Motorola MCD - Urbana        UUCP: ...!uiucuxc!udc!willcox
  52. 1101 E. University Ave.        INET: willcox@urbana.mcd.mot.com
  53. Urbana, IL 61801        FONE: 217-384-8534
  54.  
  55. Volume-Number: Volume 21, Number 122
  56.  
  57.