summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2012-09-23 00:06:53 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-09-23 00:09:27 +0200
commit27f7e15e4e048cc13a97f514fb7c9ff0c97b9ee5 (patch)
treeac4ee1b32a5ec293920ca6a44c823e19dddde451 /Makeconf
parent901c61a1d25e7c8963e51012760a82730eda1910 (diff)
Reduce starvation among libports threads
* libports/manage-multithread.c: Include <mach/thread_info.h> and <mach/thread_switch.h> (THREAD_PRI): New macro. (adjust_priority): New function. (ports_manage_port_operations_multithread): Set higher priority to privileged translators's threads. Reduce priority of newly-created threads, to give originators a chance to finish what they were doing.
Diffstat (limited to 'Makeconf')
0 files changed, 0 insertions, 0 deletions