The members of Java.Lang.Thread are listed below.
See Also: Inherited members from Java.Lang.Object
Thread() | Constructs a new Thread with no Runnable object and a newly generated name. | |
Constructs a new Thread with a Runnable object and a newly generated name. | ||
Documentation for this section has not yet been entered. | ||
Constructs a new Thread with no Runnable object and the name provided. | ||
Constructs a new Thread with a Runnable object and name provided. | ||
Constructs a new Thread with a Runnable object and a newly generated name. | ||
Documentation for this section has not yet been entered. | ||
Constructs a new Thread with no Runnable object, the given name and belonging to the ThreadGroup passed as parameter. | ||
Documentation for this section has not yet been entered. | ||
Constructs a new Thread with a Runnable object, the given name and belonging to the ThreadGroup passed as parameter. | ||
Documentation for this section has not yet been entered. | ||
Constructs a new Thread with a Runnable object, the given name and belonging to the ThreadGroup passed as parameter. | ||
Documentation for this section has not yet been entered. |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | MaxPriority | int (10). The maximum priority value allowed for a thread. |
const | MinPriority | int (1). The minimum priority value allowed for a thread. |
const | NormPriority | int (5). The normal (default) priority value assigned to the main thread. |
[read-only] static | AllStackTraces | IDictionary<Thread, StackTraceElement[]>. Returns a map of all the currently live threads to their stack traces. |
ContextClassLoader | ClassLoader. Returns the context ClassLoader for this Thread. | |
Daemon | bool. Tests whether this is a daemon thread. | |
static | DefaultUncaughtExceptionHandler | Thread.IUncaughtExceptionHandler. Returns the default exception handler that's executed when uncaught exception terminates a thread. |
[read-only] | Id | long. Returns the thread's identifier. |
[read-only] | IsAlive | bool. Returns true if the receiver has already been started and still runs code (hasn't died yet). |
[read-only] | IsInterrupted | bool. Returns a boolean indicating whether the receiver has a pending interrupt request (true) or not ( false) |
Name | string. Returns the name of the Thread. | |
Priority | int. Returns the priority of the Thread. | |
[read-only] | ThreadGroup | ThreadGroup. Returns the ThreadGroup to which this Thread belongs. |
UncaughtExceptionHandler | Thread.IUncaughtExceptionHandler. Returns the thread's uncaught exception handler. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
static | ActiveCount()Returns the number of active Threads in the running Thread's group and its subgroups. | |
CheckAccess()Does nothing. | ||
CountStackFrames()Returns the number of stack frames in this thread. | ||
static | CurrentThread()Returns the Thread of the caller, that is, the current Thread. | |
Destroy()Throws UnsupportedOperationException. | ||
static | DumpStack()Prints to the standard error stream a text representation of the current stack for this Thread. | |
static | Enumerate(Thread[])Copies an array with all Threads which are in the same ThreadGroup as the receiver - and subgroups - into the array threads passed as parameter. | |
GetStackTrace()Returns an array of Java.Lang.StackTraceElement representing the current thread's stack. | ||
GetState()Returns the current state of the Thread. | ||
static | HoldsLock(Object)Indicates whether the current Thread has a monitor lock on the specified object. | |
Interrupt()Posts an interrupt request to this Thread. | ||
static | Interrupted()Returns a boolean indicating whether the current Thread ( currentThread()) has a pending interrupt request ( true) or not (false). | |
Join()Blocks the current Thread (Thread.currentThread()) until the receiver finishes its execution and dies. | ||
Join(long)Blocks the current Thread (Thread.currentThread()) until the receiver finishes its execution and dies or the specified timeout expires, whatever happens first. | ||
Join(long, int)Blocks the current Thread (Thread.currentThread()) until the receiver finishes its execution and dies or the specified timeout expires, whatever happens first. | ||
Resume()Throws UnsupportedOperationException. | ||
Run()Calls the run() method of the Runnable object the receiver holds. | ||
static | Sleep(long)Causes the thread which sent this message to sleep for the given interval of time (given in milliseconds). | |
static | Sleep(long, int)Causes the thread which sent this message to sleep for the given interval of time (given in milliseconds and nanoseconds). | |
Start()Starts the new Thread of execution. | ||
Stop()Requests the receiver Thread to stop and throw ThreadDeath. | ||
Stop(Throwable)Throws UnsupportedOperationException. | ||
Suspend()Throws UnsupportedOperationException. | ||
static | Yield()Causes the calling Thread to yield execution time to another Thread that is ready to run. |