help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'System' (#rtl)

SuspendThread

Suspend a running thread.

Declaration

Source position: threadh.inc line 131

function SuspendThread(

  threadHandle: TThreadID

):DWord;

Description

SuspendThread suspends a running thread. The thread is identified with it's handle or ID threadHandle.

The function returns zero if succesful. A nonzero return value indicates failure.

Errors

If a failure occurred, a nonzero result is returned. The meaning is systemm dependent.

See also

ResumeThread

  

Resume a suspended thread.

KillThread

  

Kill a running thread

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505