Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!acornrc!bob From: bob@acornrc.UUCP (Bob Weissman) Newsgroups: news.software.b Subject: Double niceness in rnews Message-ID: <215@acornrc.UUCP> Date: Thu, 11-Dec-86 15:11:06 EST Article-I.D.: acornrc.215 Posted: Thu Dec 11 15:11:06 1986 Date-Received: Sat, 13-Dec-86 22:22:23 EST Organization: Acorn Research Centre, Palo Alto, CA Lines: 13 Keywords: nice, NICENESS, rnews, inews.c, 2.11 Summary: nice(NICENESS) getting called twice? I notice that having defined NICENESS=4 in defs.h, that rnews ends up running at niceness=8. compress and unbatch run properly at niceness=4. Therefore I suspect that nice() is getting called twice, once by a parent process and once by a child? My online manual (4.2bsd) suggests that nice() is obsolete in favor of setpriority(), which doesn't have the "feature" that its argument is added to the previous niceness. -- Bob Weissman UUCP: ...!{ ames | decwrl | oliveb }!acornrc!bob ARPA: "acornrc!bob"@DECWRL.DEC.COM