This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
Count tasks
|
Count tasks -> Function result | ||||||||
Parameter | Type | Description | ||||||
Function result | Longint |
![]() |
Number of open processes (including kernel processes) | |||||
Count tasks returns the highest alive process number in the 4D single-user, 4D remote, or 4D Server (stored procedures) version. Processes are numbered in the order in which they are created. When still no process has been aborted during the session, then this command returns the total number of open processes.
This number takes into account all processes, even those that are automatically managed by 4D. These include the Main process, Design process, Cache Manager process, Indexing process, and Web Server process.
See the example for Process state and for the Semaphore.
_o_PROCESS PROPERTIES
Count user processes
Count users
Process info
Process state
Product: 4D
Theme: Processes
Number:
335
Created: < 4D v6
4D Language Reference ( 4D v20 R7)