public class PriorityCeilingEmulation extends MonitorControl
Constructor and Description |
---|
PriorityCeilingEmulation(int ceiling)
Deprecated.
RTSJ V1.0.1 use PriorityCeiling.instance(ceiling)
instead.
|
Modifier and Type | Method and Description |
---|---|
int |
getCeiling()
getCeiling returns the ceiling priority for this monitor control.
|
int |
getDefaultCeiling()
Deprecated.
RTSJ V1.0.1 the name is misleading, use getCeiling
instead.
|
static PriorityCeilingEmulation |
getMaxCeiling()
getMaxCeiling returns a monitor control for priority ceiling
emulation using the maximum priority
(PriorityScheduler.instance().getMaxPriority()).
|
static PriorityCeilingEmulation |
instance(int ceiling)
instance returns the unique instance of monitor control for
priority ceiling emulation using the given ceiling priority.
|
getMonitorControl, getMonitorControl, setMonitorControl, setMonitorControl
public PriorityCeilingEmulation(int ceiling)
require
(ceiling >= Thread.MIN_PRIORITY, ceiling < PriorityScheduler.MAX_PRIORITY);
ensure
(Result.getCeiling() == ceiling);
StaticIllegalArgumentException
- iff ceiling is not in the range
Thread.MIN_PRIORITY..PriorityScheduler.MAX_PRIORITY.ceiling
- The ceiling priority for the new monitor control.public int getCeiling()
public int getDefaultCeiling()
public static PriorityCeilingEmulation getMaxCeiling()
The result will reside in HeapMemory.
public static PriorityCeilingEmulation instance(int ceiling)
The result will reside in HeapMemory.
The ceiling must be in the range Thread.MIN_PRIORITY through PriorityScheduler.instance().getMaxPriority().
StaticIllegalArgumentException
- if ceiling is outside of the range
of permitted priority values.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.