
You mean I should call chrt from the command line after starting the
process, to modify its priority?
This documentation
http://hackage.haskell.org/package/posix-realtime-0.0.0.1/src/System/Posix/R...
for
the posix-realtime package
https://hackage.haskell.org/package/posix-realtime says that it has a
sched_setscheduler function. That supposedly exists on my OS (OS X 10.9).
The chrt command, on the other hand, it does not recognize.
On Sun, Oct 19, 2014 at 12:07 PM, Brandon Allbery
On Sun, Oct 19, 2014 at 3:03 PM, Jeffrey Brown
wrote: Doh! Right. So probably this then? https://hackage.haskell.org/package/posix-realtime
Possibly, although I think you'll find that specifying a realtime scheduler class requires extra permissions, so `sudo chrt ...` will be more helpful unless you can manipulate your account's or the program's Linux kernel capabilities.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net