title: How can I create an additional ExecutionContext that has similar properties to ExecutionContext.global?
body: <p>In Scala, as far as I can tell, <code>ExecutionContext.global</code> is different from other <code>ExecutionContext</code> objects one might typically create using <code>ExecutionContext.fromExecutor(...)</code> because it can use <code>scala.concurrent.blocking</code> as a signal to spawn additional threads when an initially small thread pool becomes blocked with long-running, possibly io-bound computation. Is there a way to create another such <code>ExecutionContext</code>? Looking at the source code, it appears that <code>ExecutionContext.global</code> is created in a fairly unique way, through an internal call to <code>impl.ExecutionContextImpl.fromExecutor(null: Executor)</code>, which is package-private.</p>