[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Error message for the failure to create heartbeat thread is too specific. (#540)
notifications at github.com
Tue Dec 8 08:10:36 UTC 2020
It's good that there is an open issue for this issue.
Also note that there are 2 different things here : (1) the issue itself which is that pthread_setschedparam failed: Not owner and (2) how to solve this
For the message, it would be sufficient to just report (1) what happens.
Now the action that one should take to resolve this, depends on the operating system, and also to some extent I think there may be different approaches.
For example, I have recently discovered that an additional necessary privilege must be given at the Solaris zone level :
example# zonecfg -z myzone
zonecfg:myzone> set limitpriv="default,proc_priocntl"
To be able to add "privs=proc_priocntl" in a zone.
One possible approach to address the issue itself is by creating a profile:
# profiles -p Squeak
profiles:Squeak> set desc="Allow Squeak VM to Set Priority"
profiles:Squeak> add cmd=/usr/bin/squeak
profiles:Squeak:squeak> set privs=proc_priocntl
desc=Allow Squeak VM to Set Priority
However bottom line is there is a difference between the issue itself, and the many different ways to address the issue on the various platforms and distributions of operating systems.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev