    

 ## On this page

  

 

 # getNumThreads

 Last update: 16.07.2025 

abstract fun [getNumThreads](get-num-threads.md)(): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)

Get the number of threads that should be used for running in parallel; this is only a hint.

#### Return

the number of threads