Xbasic
THREAD_IS_RUNNING Function
Syntax
dim Result_Flag as L = thread_is_running(C threadname )
Arguments
- threadnameCharacter
The name of a thread.
Returns
- Result_FlagLogical
Returns a boolean value that indicates whether or not the specified thread is running. .T. = The named thread is running. .F. = The thread is not running.
Description
Returns true if threadname is a running thread.
Discussion
The THREAD_IS_RUNNING() function returns TRUE if the named thread is running.
No user interface related commands are allowed in a thread. Using any command that attempts to create or manipulate any type of user interface from within a thread will cause Alpha Anywhere to hang. Examples of such invalid functions include debug() , ui_*, StatusBar.*, ControlPanel.*, trace.*, etc.
Limitations
Desktop applications only.
See Also