Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter FourFlow Control (continued)

IsThreadRunning Function

Overview

The IsThreadRunning function checks to see if a background script is running.

Syntax/Parameters

Syntax

int = IsThreadRunning ( handle hObject );

Parameters

hObject

A handle to a background thread or to a script.

Return Value

Returns TRUE if the handle is found in the active script list and is running in background, FALSE on error. Use the GetLastError function to retrieve a formatted error code.

A FALSE condition will be returned if the handle provided is not to a background script.

Remarks

This function will return TRUE so long as the background thread is running. A paused thread is still considered an active running thread waiting for a continue event.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic