    

 ## On this page

  

 

 # getNumThreads

 Last update: 30.07.2026 

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