Hi Micke, micke wrote: > Hi, Im having a little problem using the priocntl syscall, I want to use the > PC_SETXPARMS and PC_GETXPARMS as commands. > > > >From the man page of priocntl I get it as I should use is it like this: > > [b]priocntl(P_PID, 0, PC_SETXPARMS, "RT", RT_KY_PRI, 10);[/b] > > If I want to change the class to real-time and priority to 10 of the calling > process, but it returns -1, invalid argument, whats wrong here? > What is the errno returned? Are you running as root? max
_______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
