Implement SetThreadPriority
Chris Robinson
chris.kcat at gmail.com
Mon Jul 31 17:28:01 CDT 2006
This is a modified patch from Mike Hearn's previous attempt (which can be
found on the wiki). The changes are that it doesn't play with libcap and root
capabilities to encourage root usage (setting a non-zero RLIMIT_RTPRIO value
for 2.6.12 or newer Linux kernels is enough), and it uses the
sched_get_priority_min function instead of the hardcoded 0 and 1 priority
values.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine_thread_prio.diff
Type: text/x-diff
Size: 2583 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060731/90331cfd/wine_thread_prio.bin
More information about the wine-patches
mailing list