Class tmsethread
Unit
Declaration
type tmsethread = class(TObject)
Description
This item has no description.
Hierarchy
- TObject
- tmsethread
Overview
Fields
| Protected | finfo: threadinfoty; |
| Protected | fthreadproc: threadprocty; |
| Protected | fexecresult: integer; |
| Protected | fstate: threadstatesty; |
| Protected | fwaitforsem: semty; |
Methods
| Protected | function internalthreadproc: integer; |
| Protected | function getrunning: boolean; |
| Protected | function getterminated: boolean; |
| Protected | function getfreeonterminate: boolean; |
| Protected | procedure setfreeonterminate(const avalue: boolean); |
| Protected | function execute(thread: tmsethread): integer; virtual; |
| Protected | procedure run(); virtual; |
| Public | constructor create; overload; |
| Public | constructor create(const afreeonterminate: boolean; const astacksizekb: integer = 0); overload; |
| Public | constructor create(const athreadproc: threadprocty; const afreeonterminate: boolean = false; const astacksizekb: integer = 0); overload; virtual; |
| Public | destructor destroy; override; |
| Public | procedure afterconstruction; override; |
| Public | function waitfor: integer; virtual; |
| Public | procedure terminate; virtual; |
| Public | procedure kill; |
Properties
| Public | property running: boolean read getrunning; |
| Public | property terminated: boolean read getterminated; |
| Public | property id: threadty read finfo.id; |
| Public | property freeonterminate: boolean read getfreeonterminate
write setfreeonterminate; |
Description
Fields
| Protected | finfo: threadinfoty; |
|
This item has no description. | |
| Protected | fthreadproc: threadprocty; |
|
This item has no description. | |
| Protected | fexecresult: integer; |
|
This item has no description. | |
| Protected | fstate: threadstatesty; |
|
This item has no description. | |
| Protected | fwaitforsem: semty; |
|
This item has no description. | |
Methods
| Protected | function internalthreadproc: integer; |
|
This item has no description. | |
| Protected | function getrunning: boolean; |
|
This item has no description. | |
| Protected | function getterminated: boolean; |
|
This item has no description. | |
| Protected | function getfreeonterminate: boolean; |
|
This item has no description. | |
| Protected | procedure setfreeonterminate(const avalue: boolean); |
|
This item has no description. | |
| Protected | function execute(thread: tmsethread): integer; virtual; |
|
This item has no description. | |
| Protected | procedure run(); virtual; |
|
This item has no description. | |
| Public | constructor create; overload; |
|
This item has no description. | |
| Public | constructor create(const afreeonterminate: boolean; const astacksizekb: integer = 0); overload; |
|
This item has no description. | |
| Public | constructor create(const athreadproc: threadprocty; const afreeonterminate: boolean = false; const astacksizekb: integer = 0); overload; virtual; |
|
This item has no description. | |
| Public | destructor destroy; override; |
|
This item has no description. | |
| Public | procedure afterconstruction; override; |
|
This item has no description. | |
| Public | function waitfor: integer; virtual; |
|
This item has no description. | |
| Public | procedure terminate; virtual; |
|
This item has no description. | |
| Public | procedure kill; |
|
This item has no description. | |
Properties
| Public | property running: boolean read getrunning; |
|
This item has no description. | |
| Public | property terminated: boolean read getterminated; |
|
This item has no description. | |
| Public | property id: threadty read finfo.id; |
|
This item has no description. | |
| Public | property freeonterminate: boolean read getfreeonterminate
write setfreeonterminate; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.