Home Units Hierarchy Routines All identifiers

Class unaThreadManager

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaThreadManager = class(unaObject)

Description

This class manages one or more threads.

Hierarchy

Overview

Methods

Public constructor create(master: bool = true);
Public destructor Destroy(); override;
Public function add(thread: unaThread): unsigned;
Public function get(index: unsigned): unaThread;
Public function getCount(): unsigned;
Public function stop(timeout: tTimeout = tTimeout(INFINITE)): bool;
Public procedure clear();
Public procedure pause();
Public procedure remove(index: unsigned);
Public procedure resume();
Public procedure start();

Description

Methods

Public constructor create(master: bool = true);
 
Public destructor Destroy(); override;
 
Public function add(thread: unaThread): unsigned;

Inserts new thread into list.

Public function get(index: unsigned): unaThread;
 
Public function getCount(): unsigned;
 
Public function stop(timeout: tTimeout = tTimeout(INFINITE)): bool;

Stops all threads in the list.

Public procedure clear();

Removes all threads from the list.

Public procedure pause();

Pauses all threads

Public procedure remove(index: unsigned);

Removes thread from the list.

Public procedure resume();

Resumes all threads

Public procedure start();

Starts all threads in the list.

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09