From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,84d3dcf26ef9dd01,start X-Google-Attributes: gid1164f8,public From: dlpage@relay.nswc.navy.mil (David Page) Subject: [Q] priocntl on DEC OSF1 V3.2 alpha Date: 1996/08/26 Message-ID: <1996Aug26.160457.14474@relay.nswc.navy.mil>#1/1 X-Deja-AN: 176586945 sender: news@relay.nswc.navy.mil organization: B35 newsgroups: comp.sys.dec My system: DEC alpha OSF1 release V3.2 version 17 I'm trying to use the POSIX priocntl to move my process into a real-time class and then to set the real-time priority of the process. Here's a block of my code: ----- code ------ strcpy(pcinfo.pc_clname, "RT"); rv = priocntl(P_PID, P_MYID, PC_GETCID, (char *) &pcinfo); pc_clparms.rt_pri = 59; pc_clparms.rt_tqsecs = 0; pc_clparms.rt_tqnsecs = RT_TQDEF; pcparms.pc_cid = pcinfo.pc_cid; memcpy(pcparms.pc_clparms, &pc_clparms, sizeof(pc_clparms)); rv = priocntl(P_PID, P_MYID, PC_SETPARMS, (char *) &pcparms); ----- code ------ I'm running the process as root; however, the error I'm getting makes me believe one of two things: a) The name of the real-time class is not "RT". OR b) The real-time class is not implemented. Any help with this would be greatly appreciated. Thanks, --Dave ______ _____ David Lon Page dlpage@nswc.navy.mil Naval Surface Warfare Center tel: 540.653.1058 Dahlgren, Virginia, USA fax: 540.653.1596 ___________________________________________________________________