[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Set the thread manager, optionally return the current thread manager.
Source position: line 0
function SetThreadManager( |
const NewTM: TThreadManager; |
var OldTM: TThreadManager |
):Boolean; |
const NewTM: TThreadManager |
):Boolean; |
SetThreadManagersets the thread manager to NewTM. If OldTMis given, SetThreadManageruses it to return the previously used thread manager.
The function returns Trueif the threadmanager was set succesfully, Falseif an error occurred.
For more information about thread programming, see the programmer's guide.
If an error occurred cleaning up the previous manager, or an error occurred initializing the new manager, Falseis returned.
|
Return the current thread manager |
|
|
Thread manager record. |