home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
std_unix
/
v21
/
122.a
< prev
next >
Wrap
Internet Message Format
|
1990-12-05
|
2KB
From std-unix-request@uunet.uu.net Fri Sep 21 13:19:38 1990
Received: from cs.utexas.edu by uunet.uu.net (5.61/1.14) with SMTP
id AA15461; Fri, 21 Sep 90 13:19:38 -0400
Posted-Date: 21 Sep 90 13:47:37 GMT
Received: by cs.utexas.edu (5.64/1.76)
From: willcox@urbana.mcd.mot.com (David A Willcox)
Newsgroups: comp.std.unix
Subject: Re: Standards Update, IEEE 1003.2: Shell and tools
Message-Id: <532@usenix.ORG>
References: <530@usenix.ORG>
Sender: jsq@usenix.ORG
Organization: Motorola Microcomputer Division, Urbana, IL
X-Submissions: std-unix@uunet.uu.net
Date: 21 Sep 90 13:47:37 GMT
Reply-To: std-unix@uunet.uu.net
To: std-unix@uunet.uu.net
Submitted-by: willcox@urbana.mcd.mot.com (David A Willcox)
In article <530@usenix.ORG> jsh@usenix.org (Jeffrey S. Haemer) writes:
>A few utilities remain contentious:
> + nice, renice: These require underlying functionality absent from
> POSIX.1, although POSIX.4 has setscheduler(), which allows
> applications to set priority and scheduling algorithms.
A point of clarification: These utilities, as defined in 1003.2a,
do NOT require any functionality that is not in 1003.1. Both can be
implemented on a bare-bones 1003.1 system as having no effect on
execution priority. The following, for example, is a valid
shell script implementation of nice:
case $1 in
-n) shift;shift;;
-* shift;;
esac
exec $*
renice is a little more complicated, but not much. (It should just have
to check for valid arguments.)
So saying that you can't implement this on a 1003.1 system is not only
a red herring, it simply isn't true.
Providing these utilities allows well-mannered applications to make use
of the priority manipluation features that are already provided by most
implementations.
David A. Willcox "Just say 'NO' to universal drug testing"
Motorola MCD - Urbana UUCP: ...!uiucuxc!udc!willcox
1101 E. University Ave. INET: willcox@urbana.mcd.mot.com
Urbana, IL 61801 FONE: 217-384-8534
Volume-Number: Volume 21, Number 122