klyn.threading.Thread.activeCount
property
public static readonly property activeCount as UInt
Description

Returns the number of logically active threads.

The main thread is included. Workers are counted from successful startup until their native execution has fully completed.

Example

print(Thread.activeCount)