java.lang.Object javax.realtime.MonitorControl javax.realtime.PriorityInheritance
Singleton class specifying use of the priority inheritance protocol.
If a thread or schedulable object
t1 attempts to enter code that is synchronized on an object
obj governed by this protocol, and
obj is currently locked by a
lower-priority thread or schedulable object
t1's active priority does not exceed the maximum priority allowed by
t2's scheduler, then
t1becomes a priority source for
t1ceases to serve as a priority source for
t2releases the lock on
t1ceases attempting to synchronize on
t1incurs an ATC).
t1's active priority exceeds the maximum priority allowed by
t2's scheduler), an
IllegalThreadStateExceptionis thrown in
Note on the 2nd rule: throwing the exception in
t1, rather than in
t2, ensures that the
exception is synchronous.
Return a reference to the singleton
|Methods inherited from class javax.realtime.MonitorControl|
|Methods inherited from class java.lang.Object|
public static PriorityInheritance instance()
This is the default
policy in effect at system startup.
PriorityInheritance instance shall be allocated in