SCHED_FIFO threads without root privileges ?
Laurent Deniel wrote: > Hi, > > Is there a way to create threads that have the SCHED_FIFO scheduling > without root privileges (in system contention scope) ? by for instance > changing a kernel parameter (Digital UNIX 4.0B & D or AIX 4.2) ? > > Thanks in advance, In Digital UNIX 4.0, using process contention scope (PCS) threads, any thread can set FIFO policy; further, it can set any priority. Why? Because the policies and priorities for PCS threads affect only the threads in the containing process. PCS FIFO/63 threads are really important in relation to other PCS threads in the process, but have no influence on the scheduling of other threads in other processes. The aspect is controlled by the policies and priorities of the kernel scheduling entities (VPs — virtual processors) underlying the PCS threads, and those characteristics are unaffected by the POSIX scheduling interfaces. On V4.0D, newly released, system contention scope (SCS) threads are supported. Their policies and priorit