Docs @ Psychtoolbox Wiki : MachGetPriorityFlavor

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

MachGetPriorityFlavor

PsychtoolboxPsychPriority

OS X


MachGetPriorityFlavor returns the priority flavor mode of the main
MATLAB thread, either 'THREAD_TIME_CONSTRAINT_POLICY' or
'THREAD_STANDARD_POLICY'.

The second return argument, priorityStruct, is the priority struct for
the active priority flavor mode.

The priority flavor 'THREAD_PRECEDENCE_POLICY' is never returned
because its status is implied by either 'THREAD_TIME_CONSTRAINT_POLICY'
or 'THREAD_STANDARD_POLICY':

-If flavorNameString is 'THREAD_TIME_CONSTRAINT_POLICY', then then
'THREAD_PRECEDENCE_POLICY'and its 'importance' parameter are ignored
by the Mach task scheduler.

-If flavorNameString is 'THREAD_STANDARD_POLICY' then the 'importance'
parameter associated with 'THREAD_PRECEDENCE_POLICY' governs the
relative allocation of CPU time between the main MATLAB thread and all
other threads of the MATLAB process.

MachGetPriorityFlavor probes priority using MachGetPriorityMex.

OS 9


MachGetPriorityFlavor does not exist in OS 9.

WINDOWS


MachGetPriorityFlavor does not exist in Windows.


see also: Priority, Rush, MachGetPriorityMex, MachSetPriorityMex,




Path   Retrieve current version of MachGetPriorityFlavor.m from berliOS: beta | view WebSVN changelog of trunk branch
Psychtoolbox/PsychPriority/MachGetPriorityFlavor.m


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0222 seconds