Description | Hierarchy | Fields | Methods | Properties |
type unaThreadManager = class(unaObject)
This class manages one or more threads.
constructor create(master: bool = true); |
|
destructor Destroy(); override; |
|
function add(thread: unaThread): unsigned; |
|
function get(index: unsigned): unaThread; |
|
function getCount(): unsigned; |
|
function stop(timeout: tTimeout = tTimeout(INFINITE)): bool; |
|
procedure clear(); |
|
procedure pause(); |
|
procedure remove(index: unsigned); |
|
procedure resume(); |
|
procedure start(); |
constructor create(master: bool = true); |
|
destructor Destroy(); override; |
|
function add(thread: unaThread): unsigned; |
|
Inserts new thread into list. |
function get(index: unsigned): unaThread; |
|
function getCount(): unsigned; |
|
function stop(timeout: tTimeout = tTimeout(INFINITE)): bool; |
|
Stops all threads in the list. |
procedure clear(); |
|
Removes all threads from the list. |
procedure pause(); |
|
Pauses all threads |
procedure remove(index: unsigned); |
|
Removes thread from the list. |
procedure resume(); |
|
Resumes all threads |
procedure start(); |
|
Starts all threads in the list. |
(c) 2012 Lake of Soft