Thread

public class Thread extends Object
implements Runnable
Known Direct Subclasses

Simplified iOS version of java.lang.Thread, based on Apache Harmony source (both luni-kernel and vmcore). This class uses pthread for thread creation and maintains a pthread handle for using other pthread functionality. pthread's thread local mechanism (pthread_setspecific) is used to associate this wrapper object with the current thread.

Nested Class Summary

enum Thread.State A representation of a thread's state. 
interface Thread.UncaughtExceptionHandler  

Constant Summary

int MAX_PRIORITY

The maximum priority value allowed for a thread.

int MIN_PRIORITY

The minimum priority value allowed for a thread.

int NORM_PRIORITY

The normal (default) priority value assigned to threads.

Public Constructor Summary

Thread()
Constructs a new Thread with no runnable object and a newly generated name.
Thread(Runnable runnable)
Constructs a new Thread with a runnable object and a newly generated name.
Thread(Runnable runnable, String threadName)
Constructs a new Thread with a runnable object and name provided.
Thread(String threadName)
Constructs a new Thread with no runnable object and the name provided.