File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
core/kotlinx-coroutines-core/src Expand file tree Collapse file tree 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 {
2525 * [launch][CoroutineScope.launch], [async][CoroutineScope.async], etc
2626 * if no dispatcher nor any other [ContinuationInterceptor] is specified in their context.
2727 *
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.
3031 */
3132 @JvmStatic
3233 public actual val Default : CoroutineDispatcher = createDefaultDispatcher()
You can’t perform that action at this time.
0 commit comments