[Haskell-cafe] Process priority

Roman Cheplyaka roma at ro-che.info
Thu Jun 3 14:53:08 EDT 2010


* Andrew Coppin <andrewcoppin at btinternet.com> [2010-06-03 08:27:21+0100]
> I've had a hunt around in System.Process, but I can't discover any
> way to adjust the priority of the process you just spawned. Am I
> missing something, or has this just not been implemented yet? (I must
> confess, I don't know whether Windows and Unix both have the same
> ideas about priority numbers...)

For POSIX systems you have 'nice' and 'setProcessPriority' in
System.Posix.Process.

-- 
Roman I. Cheplyaka :: http://ro-che.info/
"Don't let school get in the way of your education." - Mark Twain


More information about the Haskell-Cafe mailing list