This class represents a thread. Each thread is an execution entity that is
scheduled independently from other threads in the same process.
Defined in: Thread.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
jls.lang.Thread(daemon, shared)
Creates a thread.
|
| Method Attributes | Method Name and Description |
|---|---|
|
close()
Closes this thread.
|
|
|
join()
Joins this thread.
|
|
|
run()
This method should be overriden, it is called in the thread.
|
|
| <static> |
jls.lang.Thread.sleep(ms)
Causes the currently executing thread to sleep.
|
|
start(thisArg)
Starts this thread.
|