lThreads will normally be
competing for processor time
lTime-critical tasks with hard
deadlines can be given a higher priority than less critical tasks
lThe Thread class defines three
constants:
–MAX_PRIORITY (10)
–MIN_PRIORITY (1)
–NORM_PRIORITY (the default 5)
lUse getPriority() and
setPriority()