|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--javax.realtime.RealtimeThread
Class RealtimeThread
extends java.lang.Thread
and includes classes and methods to get and set parameterer objects,
manage the execution of those threads with a
ReleaseParameters
type of PeriodicParameters
,
and manage waiting.
A RealtimeThread
object must be placed in a memory area
such that thread logic may unexceptionally access instance variables
and such that Java methods on java.lang.Thread
(e.g.,
enumerate and join) complete normally except where such execution
would cause access violations.
Parameters for constructors may be null
. In such cases
the default value will be the default value set for the particular
type by the associated instance of Scheduler
.
Field Summary | |
private boolean |
blocked
|
(package private) long |
checkDepth
|
javax.realtime.Scheduler |
currentScheduler
|
(package private) int |
heapMemCount
The top of the stack for this RealtimeThread. |
(package private) javax.realtime.MemoryArea |
mem
Contains the memoryArea associated with this mem. |
(package private) javax.realtime.MemAreaStack |
memAreaStack
Contains the cactus stack of previous memoryAreas... |
(package private) javax.realtime.MemoryParameters |
memoryParameters
|
private static long |
nextThreadID
|
(package private) boolean |
noHeap
Specifies whether this RealtimeThread has access to the heap. |
(package private) javax.realtime.MemoryArea |
original
Contains the memoryArea associated with this mem. |
(package private) javax.realtime.ProcessingGroupParameters |
processingGroupParameters
|
(package private) javax.realtime.ReleaseParameters |
releaseParameters
Realtime parameters for this thread |
(package private) static boolean |
RTJ_init_in_progress
Specifies whether the initialization code has finished setting up RTJ. |
(package private) javax.realtime.SchedulingParameters |
schedulingParameters
|
private java.lang.Runnable |
target
The target to run. |
private long |
threadID
|
(package private) javax.realtime.MemAreaStack |
topStack
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
RealtimeThread()
Create a real-time thread. |
|
RealtimeThread(javax.realtime.MemoryArea memory)
|
|
RealtimeThread(javax.realtime.MemoryArea memory,
java.lang.Runnable target)
|
|
RealtimeThread(javax.realtime.MemoryParameters mp,
java.lang.Runnable target)
|
|
RealtimeThread(java.lang.Runnable target)
|
|
RealtimeThread(java.lang.Runnable target,
java.lang.String name)
|
|
RealtimeThread(javax.realtime.SchedulingParameters scheduling)
Create a real-time thread with the given SchedulingParameters . |
|
RealtimeThread(javax.realtime.SchedulingParameters scheduling,
javax.realtime.ReleaseParameters release)
Create a real-time thread with the given SchedulingParameters
and ReleaseParameters . |
|
RealtimeThread(javax.realtime.SchedulingParameters scheduling,
javax.realtime.ReleaseParameters release,
javax.realtime.MemoryParameters memory,
javax.realtime.MemoryArea area,
javax.realtime.ProcessingGroupParameters group,
java.lang.Runnable logic)
Create a real-time thread with the given characteristics and a java.lang.Runnable . |
|
RealtimeThread(java.lang.String name)
|
|
RealtimeThread(java.lang.ThreadGroup group,
java.lang.Runnable target)
|
|
RealtimeThread(java.lang.ThreadGroup group,
java.lang.Runnable target,
java.lang.String name)
|
|
RealtimeThread(java.lang.ThreadGroup group,
java.lang.Runnable target,
java.lang.String name,
javax.realtime.MemoryArea memory)
|
|
RealtimeThread(java.lang.ThreadGroup group,
java.lang.String name)
|
Method Summary | |
static int |
activeCount()
|
boolean |
addIfFeasible()
Add the scheduling and release characteristics of this
to the sed of such characteristics already being considered, if the
addition would result in the new, larger set being feasible. |
boolean |
addToFeasibility()
Inform the scheduler and cooperating facilities that scheduling and release characteristics of this instance of Schedulable
should be considered in feasibility analysis until further notified. |
void |
bindSchedulable()
Informs ReleaseParameters, ProcessingGroupParameters and
MemoryParameters that this has them as its parameters. |
(package private) boolean |
checkAccess(javax.realtime.MemoryArea source,
javax.realtime.MemoryArea target)
|
(package private) static void |
checkInit()
|
void |
checkNoHeapRead(java.lang.Object obj)
|
void |
checkNoHeapWrite(java.lang.Object obj)
|
(package private) void |
cleanup()
|
static javax.realtime.RealtimeThread |
currentRealtimeThread()
Gets a reference to the current instance of RealtimeThread . |
static java.lang.Thread |
currentThread()
Returns the current running thread. |
void |
deschedulePeriodic()
Stop unblocking waitForNextPeriod() for this if
the type of the associated instance of ReleaseParameters is
PeriodicParameters . |
static void |
dumpStack()
|
(package private) void |
enter(javax.realtime.MemoryArea mem,
javax.realtime.MemoryArea original)
|
static int |
enumerate(java.lang.Thread[] tarray)
Same as java.lang.Thread.enumerate() . |
(package private) void |
exitMem()
|
javax.realtime.MemoryArea |
getCurrentMemoryArea()
Gets the current memory area of this . |
int |
getInitialMemoryAreaIndex()
Memory area stacks include inherited stacks from parent threads. |
javax.realtime.MemoryArea |
getMemoryArea()
Gets a reference to the current MemoryArea . |
int |
getMemoryAreaStackDepth()
Get the size of the stack of MemoryArea instances to which
this RealtimeThread has access. |
javax.realtime.MemoryParameters |
getMemoryParameters()
Gets a reference to the MemoryParameters object. |
javax.realtime.MemoryArea |
getOuterMemoryArea(int index)
Gets the instance of MemoryArea in the memory area stack
at the index given. |
javax.realtime.ProcessingGroupParameters |
getProcessingGroupParameters()
Gets a reference to the ProcessingGroupParameters object. |
javax.realtime.ReleaseParameters |
getReleaseParameters()
Gets a reference to the ReleaseParameters object. |
javax.realtime.Scheduler |
getScheduler()
Get a reference to the Scheduler object. |
javax.realtime.SchedulingParameters |
getSchedulingParameters()
Gets a reference to the SchedulingParameters object. |
long |
getUID()
Return a UID for this Schedulable object. |
(package private) void |
initScheduler()
|
void |
interrupt()
Sets the state of the generic AsynchronouslyInterruptedException |
static boolean |
interrupted()
Same as java.lang.Thread.interrupted() . |
javax.realtime.MemoryArea |
memoryArea()
For internal use only. |
(package private) javax.realtime.MemoryArea |
outerScope(javax.realtime.MemoryArea child)
Get the outerScope of a given MemoryArea for the current RealtimeThread. |
void |
removeFromFeasibility()
Inform the scheduler and cooperating facilities that the scheduling and release characteristics of this instance of Schedulable
should not be considered in feasibility analyses until further
notified. |
void |
run()
Override the Thread.run() method, because Thread.run() doesn't work. |
(package private) void |
schedule()
Schedule this on the thread lists |
void |
schedulePeriodic()
Begin unblocking waitForNextPeriod() for a periodic thread. |
boolean |
setIfFeasible(javax.realtime.ReleaseParameters release,
javax.realtime.MemoryParameters memory)
This method appears in many classes in the RTSJ and with various parameters. |
boolean |
setIfFeasible(javax.realtime.ReleaseParameters release,
javax.realtime.MemoryParameters memory,
javax.realtime.ProcessingGroupParameters group)
This method appears in many classes in the RTSJ and with various parameters. |
boolean |
setIfFeasible(javax.realtime.ReleaseParameters release,
javax.realtime.ProcessingGroupParameters group)
This method appears in many classes in the RTSJ and with various parameters. |
void |
setMemoryParameters(javax.realtime.MemoryParameters memory)
Sets the memory parameters associated with this instance of Schedulable . |
boolean |
setMemoryParametersIfFeasible(javax.realtime.MemoryParameters memParam)
The method first performs a feasibility analysis using the ginve memory parameters as replacements for the memory parameters of this . |
void |
setProcessingGroupParameters(javax.realtime.ProcessingGroupParameters parameters)
Sets the reference to the ProcessingGroupParameters object. |
boolean |
setProcessingGroupParametersIfFeasible(javax.realtime.ProcessingGroupParameters groupParameters)
Sets the ProcessingGroupParameters of this only if the
resulting set of scheduling and release characteristics is feasible. |
void |
setReleaseParameters(javax.realtime.ReleaseParameters release)
Since this affects the constraints expressed in the release parameters of the existing schedulable objects, this may change the feasibility of the current schedule. |
boolean |
setReleaseParametersIfFeasible(javax.realtime.ReleaseParameters release)
Set the ReleaseParameters for this schedulable object only if
the resulting set of scheduling and release characteristics is feasible. |
void |
setScheduler(javax.realtime.Scheduler scheduler)
Sets the reference to the Scheduler object. |
void |
setScheduler(javax.realtime.Scheduler scheduler,
javax.realtime.SchedulingParameters scheduling,
javax.realtime.ReleaseParameters release,
javax.realtime.MemoryParameters memParameters,
javax.realtime.ProcessingGroupParameters processingGroup)
Sets the scheduler and associated parameter objects. |
void |
setSchedulingParameters(javax.realtime.SchedulingParameters scheduling)
Sets the reference to the SchedulingParameters object. |
boolean |
setSchedulingParametersIfFeasible(javax.realtime.SchedulingParameters scheduling)
The method first performs a feasiblity analysis using the given scheduling parameters as replacements for the scheduling parameters of this . |
private void |
setup()
This sets up the unspecified local variables for the constructor. |
static void |
sleep(javax.realtime.Clock clock,
javax.realtime.HighResolutionTime time)
An accurate timer with nanoseconds granularity. |
static void |
sleep(javax.realtime.HighResolutionTime time)
An accurate timer with nanoseconds granularity. |
static void |
sleep(long millis)
Same as java.lang.Thread.sleep(long) . |
static void |
sleep(long millis,
int nanos)
Same as java.lang.Thread.sleep(long, int) . |
void |
start()
Starts the thread. |
java.lang.String |
toString()
|
void |
unbindSchedulable()
Informs ReleaseParameters, ProcessingGroupParameters and
MemoryParameters that this does not have them
any longer as its parameters. |
(package private) void |
unschedule()
Deschedule this from the thread lists |
boolean |
waitForNextPeriod()
Used by threads that have a reference to a ReleaseParameters
type of PeriodicParameters to block until the start of each
period. |
static void |
yield()
Same as java.lang.Thread.yield() . |
Methods inherited from class java.lang.Thread |
checkAccess, countStackFrames, destroy, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, stop, stop, suspend |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public javax.realtime.Scheduler currentScheduler
javax.realtime.MemAreaStack memAreaStack
int heapMemCount
javax.realtime.MemAreaStack topStack
boolean noHeap
private boolean blocked
javax.realtime.MemoryArea mem
javax.realtime.MemoryArea original
javax.realtime.ReleaseParameters releaseParameters
javax.realtime.MemoryParameters memoryParameters
javax.realtime.SchedulingParameters schedulingParameters
javax.realtime.ProcessingGroupParameters processingGroupParameters
static boolean RTJ_init_in_progress
private java.lang.Runnable target
private static long nextThreadID
private long threadID
long checkDepth
Constructor Detail |
public RealtimeThread()
public RealtimeThread(javax.realtime.SchedulingParameters scheduling)
SchedulingParameters
.
scheduling
- The SchedulingParameters
associated with
this
(and possibly other instances of
Schedulable
).public RealtimeThread(javax.realtime.SchedulingParameters scheduling, javax.realtime.ReleaseParameters release)
SchedulingParameters
and ReleaseParameters
.
scheduling
- The SchedulingParameters
associated with
this
(and possibly other instances of
Schedulable
).release
- The ReleaseParameters
associated with
this
(and possibly other instances of
Schedulable
).public RealtimeThread(javax.realtime.SchedulingParameters scheduling, javax.realtime.ReleaseParameters release, javax.realtime.MemoryParameters memory, javax.realtime.MemoryArea area, javax.realtime.ProcessingGroupParameters group, java.lang.Runnable logic)
java.lang.Runnable
.
scheduling
- The SchedulingParameters
associated with
this
(and possibly other instances of
Schedulable
).release
- The ReleaseParameters
associated with
this
(and possibly other instances of
Schedulable
).memory
- The MemoryParameters
associated with
this
(and possibly other instances of
Schedulable
).area
- The MemoryArea
associated with this
.group
- The ProcessingGroupParameters
associated with
this
(and possibly other instances of
Schedulable
).logic
- A Runnable
whose run()
method will
be executed for this
.public RealtimeThread(java.lang.ThreadGroup group, java.lang.Runnable target)
public RealtimeThread(javax.realtime.MemoryArea memory)
public RealtimeThread(javax.realtime.MemoryParameters mp, java.lang.Runnable target)
public RealtimeThread(java.lang.Runnable target)
public RealtimeThread(java.lang.String name)
public RealtimeThread(java.lang.ThreadGroup group, java.lang.Runnable target, java.lang.String name)
public RealtimeThread(java.lang.ThreadGroup group, java.lang.String name)
public RealtimeThread(java.lang.Runnable target, java.lang.String name)
public RealtimeThread(javax.realtime.MemoryArea memory, java.lang.Runnable target)
public RealtimeThread(java.lang.ThreadGroup group, java.lang.Runnable target, java.lang.String name, javax.realtime.MemoryArea memory)
Method Detail |
public long getUID()
Schedulable
getUID
in interface Schedulable
static void checkInit()
private void setup()
void initScheduler()
public boolean addIfFeasible()
this
to the sed of such characteristics already being considered, if the
addition would result in the new, larger set being feasible.
addIfFeasible
in interface Schedulable
Scheduler
.public boolean addToFeasibility()
Schedulable
should be considered in feasibility analysis until further notified.
addToFeasibility
in interface Schedulable
public static javax.realtime.RealtimeThread currentRealtimeThread() throws java.lang.ClassCastException
RealtimeThread
.
RealtimeThread
.
java.lang.ClassCastException
- If the current thread is not a
RealtimeThread
.public void deschedulePeriodic()
waitForNextPeriod()
for this
if
the type of the associated instance of ReleaseParameters
is
PeriodicParameters
. If this
does not have a type
of PeriodicParameters
, nothing happens.
public javax.realtime.MemoryArea getCurrentMemoryArea()
this
.
MemoryArea
object.public int getInitialMemoryAreaIndex()
RealtimeThread
is the memory area
given as a parameter to the constructor. This method returns the position in
the memory area stack of that initial memory area.
RealtimeThread
.public javax.realtime.MemoryArea getMemoryArea()
MemoryArea
.
public int getMemoryAreaStackDepth()
MemoryArea
instances to which
this RealtimeThread
has access.
MemoryArea
instances.public javax.realtime.MemoryParameters getMemoryParameters()
MemoryParameters
object.
getMemoryParameters
in interface Schedulable
MemoryParameters
object.public javax.realtime.MemoryArea getOuterMemoryArea(int index)
MemoryArea
in the memory area stack
at the index given. If the given index does not exist in the memory
area scope stack then null is returned.
index
- The offset into the memory area stack.
MemoryArea
at index or null
if the given value does not correspond to a position in the stack.public javax.realtime.ProcessingGroupParameters getProcessingGroupParameters()
ProcessingGroupParameters
object.
getProcessingGroupParameters
in interface Schedulable
ProcessingGroupParameters
object.public javax.realtime.ReleaseParameters getReleaseParameters()
ReleaseParameters
object.
getReleaseParameters
in interface Schedulable
ReleaseParameters
object.public javax.realtime.Scheduler getScheduler()
Scheduler
object.
getScheduler
in interface Schedulable
Scheduler
object.public javax.realtime.SchedulingParameters getSchedulingParameters()
SchedulingParameters
object.
getSchedulingParameters
in interface Schedulable
SchedulingParameters
object.public void interrupt()
AsynchronouslyInterruptedException
to pending.
- Overrides:
interrupt
in class java.lang.Thread
public void removeFromFeasibility()
Schedulable
should not be considered in feasibility analyses until further
notified.
removeFromFeasibility
in interface Schedulable
public void schedulePeriodic()
waitForNextPeriod()
for a periodic thread.
Typically used when a periodic schedulable object is in an overrun condition.
The scheduler should recompute the schedule and perform admission control.
If this does not have a type of PeriodicParameters
as its
ReleaseParameters
, nothing happens.
public boolean setIfFeasible(javax.realtime.ReleaseParameters release, javax.realtime.MemoryParameters memory)
Schedulable
or an instance of Schedulable
. The
method first performs a feasibility analysis using the new scheduling
characteristics as replacements for the matching scheduling characteristics
of either this
or the given instance of Schedulable
.
If the resulting system is feasible the method replaces the current scheduling
characteristics, of either this
or the given instance of
Schedulable
as appropriate, with the new scheduling characteristics.
setIfFeasible
in interface Schedulable
release
- The proposed release parameters.memory
- The proposed memory parameters.
public boolean setIfFeasible(javax.realtime.ReleaseParameters release, javax.realtime.MemoryParameters memory, javax.realtime.ProcessingGroupParameters group)
Schedulable
or an instance of Schedulable
. The
method first performs a feasibility analysis using the new scheduling
characteristics as replacements for the matching scheduling characteristics
of either this
or the given instance of Schedulable
.
If the resulting system is feasible the method replaces the current scheduling
characteristics, of either this
or the given instance of
Schedulable
as appropriate, with the new scheduling characteristics.
setIfFeasible
in interface Schedulable
release
- The proposed release parameters.memory
- The proposed memory parameters.group
- The proposed processing group parameters.
public boolean setIfFeasible(javax.realtime.ReleaseParameters release, javax.realtime.ProcessingGroupParameters group)
Schedulable
or an instance of Schedulable
. The
method first performs a feasibility analysis using the new scheduling
characteristics as replacements for the matching scheduling characteristics
of either this
or the given instance of Schedulable
.
If the resulting system is feasible the method replaces the current scheduling
characteristics, of either this
or the given instance of
Schedulable
as appropriate, with the new scheduling characteristics.
setIfFeasible
in interface Schedulable
release
- The proposed release parameters.group
- The proposed processing group parameters.
public void setMemoryParameters(javax.realtime.MemoryParameters memory) throws java.lang.IllegalThreadStateException
Schedulable
.
setMemoryParameters
in interface Schedulable
memory
- A MemoryParameters
object which will become the memory
parameters associated with this
after the method call.
java.lang.IllegalThreadStateException
public boolean setMemoryParametersIfFeasible(javax.realtime.MemoryParameters memParam)
this
. If the resulting
system is feasible the method replaces the current memory parameters of
this
with the new memory parameters.
setMemoryParametersIfFeasible
in interface Schedulable
memParam
- The proposed memory Parameters
public void setProcessingGroupParameters(javax.realtime.ProcessingGroupParameters parameters)
ProcessingGroupParameters
object.
setProcessingGroupParameters
in interface Schedulable
parameters
- A reference to the ProcessingGroupParameters
object.
public boolean setProcessingGroupParametersIfFeasible(javax.realtime.ProcessingGroupParameters groupParameters)
ProcessingGroupParameters
of this
only if the
resulting set of scheduling and release characteristics is feasible.
setProcessingGroupParametersIfFeasible
in interface Schedulable
groupParameters
- The ProcessingGroupParameters
object. If
null
, nothing happens.
public void setReleaseParameters(javax.realtime.ReleaseParameters release) throws java.lang.IllegalThreadStateException
setReleaseParameters
in interface Schedulable
release
- A ReleaseParameters
object which will become the
release parameters associated with this
afther the
method call.
java.lang.IllegalThreadStateException
- Thrown if the state of this instance
of Schedulable
is not
appropriate to changing the release
parameters.public boolean setReleaseParametersIfFeasible(javax.realtime.ReleaseParameters release)
ReleaseParameters
for this schedulable object only if
the resulting set of scheduling and release characteristics is feasible.
setReleaseParametersIfFeasible
in interface Schedulable
release
- The ReleaseParameters
object. If null
nothing happens.
public void setScheduler(javax.realtime.Scheduler scheduler) throws java.lang.IllegalThreadStateException
Scheduler
object.
setScheduler
in interface Schedulable
scheduler
- A reference to the Scheduler
object.
java.lang.IllegalThreadStateException
- Thrown when:
((Thread.isAlive() &&
Not Blocked) == true)
.
(Where blocked means waiting in
Thread.wait(), Thread.join()
or Thread.sleep()
).public void setScheduler(javax.realtime.Scheduler scheduler, javax.realtime.SchedulingParameters scheduling, javax.realtime.ReleaseParameters release, javax.realtime.MemoryParameters memParameters, javax.realtime.ProcessingGroupParameters processingGroup) throws java.lang.IllegalThreadStateException
setScheduler
in interface Schedulable
scheduler
- A reference to the scheduler that will manage the execution
of this thread. If null
, no change to current
value of this parameter is made.scheduling
- A reference to the SchedulingParameters
which
will be associated with this
. If null, no
change to current value of this parameter is made.release
- A reference to the ReleasePrameters
which will
be associated with this
. If null, no change to
current value of this parameter is made.memParameters
- A reference to the MemoryParaemters
which will be associated with this
. If
null, no change to current value of this parameter
is made.processingGroup
- A reference to the ProcessingGroupParameters
which will be associated with this
. If null,
no change to current value of this parameter is made.
java.lang.IllegalThreadStateException
- Thrown when:
((Thread.isAlive() &&
Not Blocked) == true).
(Where blocked means waiting
in Thread.wait(),
Thread.join()
or
Thread.sleep()
).public void setSchedulingParameters(javax.realtime.SchedulingParameters scheduling) throws java.lang.IllegalThreadStateException
SchedulingParameters
object.
setSchedulingParameters
in interface Schedulable
scheduling
- A reference to the SchedulingParameters
in
interface Schedulable
.
java.lang.IllegalThreadStateException
- Thrown when:
((Thread.isAlive() &&
Not Blocked) == true).
(Where blocked means waiting
in Thread.wait(),
Thread.join()
or
Thread.sleep()
).public boolean setSchedulingParametersIfFeasible(javax.realtime.SchedulingParameters scheduling)
this
.
If the resulting system is feasible the method replaces the current scheduling
parameters of this
with the new scheduling parameters.
setSchedulingParametersIfFeasible
in interface Schedulable
scheduling
- The proposed scheduling parameters. If null, nothing happens.
public static void sleep(javax.realtime.Clock clock, javax.realtime.HighResolutionTime time) throws java.lang.InterruptedException
Clock
. The sleep time may be relative
of absolute. If relative, then the calling thread is blocked for the
amount of time given by the parameter. If absolute, then the calling
thread is blocked until the indicated point in time. If the given
absolute time is before the current time, the call to sleep returns
immediately.
clock
- The instance of Clock
used as the base.time
- The amount of time to sleep or the point in time at
which to awaken.
java.lang.InterruptedException
- If interrupted.public static void sleep(javax.realtime.HighResolutionTime time) throws java.lang.InterruptedException
Clock
. The sleep time may be relative
of absolute. If relative, then the calling thread is blocked for the
amount of time given by the parameter. If absolute, then the calling
thread is blocked until the indicated point in time. If the given
absolute time is before the current time, the call to sleep returns
immediately.
time
- The amount of time to sleep or the point in time at
which to awaken.
java.lang.InterruptedException
- If interrupted.public void start()
start
in class java.lang.Thread
public boolean waitForNextPeriod() throws java.lang.IllegalThreadStateException
ReleaseParameters
type of PeriodicParameters
to block until the start of each
period. Periods start at either the start time in PeriodicParameters
of when waitForNextPeriod
will immediately return false once per overrun or deadline miss. It will
then again block until the start of the next period (unless, of course,
the thread has overrun of missed again). If either the overrun of deadline
miss handlers are not null and the thread is in either an overrun or
deadline miss condition waitForNextObject()
will block until
handler corrects the situation (possibly by calling schedulePeriodic
).
waitForNextPeriod()
throws IllegalThreadStateException
if this does not have a reference to a ReleaseParameters
type of PeriodicParameters
.
java.lang.IllegalThreadStateException
- If this
does not
have a reference to a
ReleaseParameters
type of PeriodicParameters
.public void bindSchedulable()
ReleaseParameters, ProcessingGroupParameters
and
MemoryParameters
that this
has them as its parameters.
public void unbindSchedulable()
ReleaseParameters, ProcessingGroupParameters
and
MemoryParameters
that this
does not have them
any longer as its parameters.
public static int activeCount()
public static java.lang.Thread currentThread()
public static int enumerate(java.lang.Thread[] tarray)
java.lang.Thread.enumerate()
.
public static boolean interrupted()
java.lang.Thread.interrupted()
.
public static void yield()
java.lang.Thread.yield()
.
public static void sleep(long millis) throws java.lang.InterruptedException
java.lang.Thread.sleep(long)
.
java.lang.InterruptedException
public static void sleep(long millis, int nanos) throws java.lang.InterruptedException
java.lang.Thread.sleep(long, int)
.
java.lang.InterruptedException
public static void dumpStack()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public javax.realtime.MemoryArea memoryArea()
void enter(javax.realtime.MemoryArea mem, javax.realtime.MemoryArea original)
void exitMem()
void cleanup()
javax.realtime.MemoryArea outerScope(javax.realtime.MemoryArea child)
boolean checkAccess(javax.realtime.MemoryArea source, javax.realtime.MemoryArea target)
public void checkNoHeapWrite(java.lang.Object obj)
public void checkNoHeapRead(java.lang.Object obj)
public java.lang.String toString()
toString
in class java.lang.Thread
final void schedule()
final void unschedule()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |