File tree 1 file changed +3
-2
lines changed
core/kotlinx-coroutines-core/src
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,9 @@ public actual object Dispatchers {
25
25
* [launch][CoroutineScope.launch], [async][CoroutineScope.async], etc
26
26
* if no dispatcher nor any other [ContinuationInterceptor] is specified in their context.
27
27
*
28
- * It is backed by a shared pool of threads on JVM. By default, the maximal number of threads used
29
- * by this dispatcher is equal to the number CPU cores, but is at least two.
28
+ * It is backed by a shared pool of threads on JVM. By default, the maximal level of parallelism used
29
+ * by this dispatcher is equal to the number of CPU cores, but is at least two.
30
+ * Level of parallelism X guarantees that no more than X tasks can be executed in this dispatcher in parallel.
30
31
*/
31
32
@JvmStatic
32
33
public actual val Default : CoroutineDispatcher = createDefaultDispatcher()
You can’t perform that action at this time.
0 commit comments