[Vm-dev] pthread_setschedparam failed: Not owner

Tobias Pape Das.Linux at gmx.de
Sat Mar 28 19:43:41 UTC 2020


Hi 
> On 28.03.2020, at 20:24, stes <stes at telenet.be> wrote:
> 
> 
> 
> another way to start squeak without the "pthread_setschedparam failed" seems
> to be to put the shell that starts squeak in the "RT" (realtime class)
> 
> # priocntl -d 3345
> REAL TIME PROCESSES:
>   PID[/LWP]         RTPRI       TQNTM      TQSIG
>   3345               10           800         0
> # ps -eLo class,pri,lwp,pid,comm | grep squeak
>  RT 110      1  3360 bin/../lib/squeak/5.0-202003240214-solaris/squeak
>  RT 111      2  3360 bin/../lib/squeak/5.0-202003240214-solaris/squeak


The Realtime stuff is actually the reason Squeak uses pthread_setschedparam,
to have a reliably timed timing thread :)

Best regards
	-Tobias


More information about the Vm-dev mailing list