Unit 'System' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

ResumeThread

Resume a suspended thread.

Declaration

Source position: threadh.inc line 151

function ResumeThread(

  threadHandle: TThreadID

):DWord;

Description

ResumeThread causes a suspended thread (using SuspendThread) to resume it's execution. The thread is identified with it's handle or ID threadHandle. This function is only usable on windows, it will return an error value on linux.

The function returns a positive number if successful. A DWord(-1) return value indicates failure.

Errors

If a failure occurred, a DWord(-1) result is returned.

See also

SuspendThread

  

Suspend a running thread.

KillThread

  

Kill a running thread.


Documentation generated on: Jul 25 2025