[Vm-dev] pthread_setschedparam failed: Not owner

stes stes at telenet.be
Sun Mar 29 08:16:06 UTC 2020


The manpage for priocntl says that although it is possible to change
priority limit for IA (which is the Inter-Active scheduler class), for the
TS (TimeSharing) and IA (InterActive) class , it says there is no guarantuee
that the change will be used:

       "The priorities of processes in the inter-active class can
       be changed in the same manner  as  those  in  the  time-sharing 
class,
       though / the modified priorities continue to be adjusted /to provide
good
       responsiveness for user interaction."

For the TS class (similar to IA) it says:

       "It is not guaranteed, however,  that  a  time-sharing  process
       with  a  *higher tsupri value runs before one with a lower tsupri
value*.
       This is because the tsupri value is just one factor used  to 
determine
       the  scheduling  priority  of  a  time-sharing  process."


Another choice which also seems to help to get rid of the
pthread_setschedparam() error or warning, is to use th FX (fixed priority)
class.

So is it recommended to run the squeak process as a process in the RT
(realtime) class to get rid of the warning ?






--
Sent from: http://forum.world.st/Squeak-VM-f104410.html


More information about the Vm-dev mailing list