Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hplabsz!jin From: jin@hplabsz.HPL.HP.COM (Tai Jin) Newsgroups: comp.sys.hp Subject: Re: where are adjtime(2) and setpriority(2) ?? Keywords: HP-330 running 6.0.1 & NTP Message-ID: <2643@hplabsz.HPL.HP.COM> Date: 18 Nov 88 22:13:41 GMT References: <14750@joyce.istc.sri.com> Reply-To: jin@hplabsz.UUCP (Tai Jin) Organization: Hewlett-Packard Laboratories Lines: 15 NTP has been ported to HP-UX and is running quite well. The adjtime(2) call is not currently supported in HP-UX, but it is possible to emulate the functionality in HP-UX 6.0/2.0 and later (there is no guarantee that this will work in the future). And instead of the setpriority(2) call, you could use rtprio(2) instead. This is not an exact match, but it should work. I should caution you about using rtprio(2) in a network application. There is a daemon called netisr which handles lowlevel network I/O. This daemon runs with the lowest real-time priority by default. And it is important that netisr be running with a higher real-time priority than all network applications. So if any network applications run at real-time priority then you should increase netisr's priority. ...tai