Xbasic
THREAD_COUNT Function
Syntax
Count as N = thread_count()
Returns
- CountNumeric
The number of running threads.
Description
Returns the number of running threads.
Discussion
For internal use only. The THREAD_COUNT() function returns the number of running threads.
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