You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change "amount" to "number" in cases where amount is incorrect. One instance actually used number correctly in the next sentence :P
Amount refers to a continuous value as opposed to a discrete count, so number of processors / threads, amount of water or code.
Copy file name to clipboardExpand all lines: _overviews/core/futures.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -74,13 +74,13 @@ although this should only be done in rare cases.
74
74
75
75
`ExecutionContext.global` is an `ExecutionContext` backed by a [ForkJoinPool](http://docs.oracle.com/javase/tutorial/essential/concurrency/forkjoin.html).
76
76
It should be sufficient for most situations but requires some care.
77
-
A `ForkJoinPool` manages a limited amount of threads (the maximum amount of threads being referred to as *parallelism level*).
77
+
A `ForkJoinPool` manages a limited number of threads (the maximum number of threads being referred to as *parallelism level*).
78
78
The number of concurrently blocking computations can exceed the parallelism level
79
79
only if each blocking call is wrapped inside a `blocking` call (more on that below).
80
80
Otherwise, there is a risk that the thread pool in the global execution context is starved,
81
81
and no computation can proceed.
82
82
83
-
By default the `ExecutionContext.global` sets the parallelism level of its underlying fork-join pool to the amount of available processors
83
+
By default the `ExecutionContext.global` sets the parallelism level of its underlying fork-join pool to the number of available processors
0 commit comments