Update akka-actor/src/main/scala/akka/dispatch/Future.scala

This commit is contained in:
viktorklang 2012-01-22 23:11:09 +01:00
parent 1333700c0d
commit 6cb1914b5c

View file

@ -1,4 +1,3 @@
/**
* Copyright (C) 2009-2012 Typesafe Inc. <http://www.typesafe.com>
*/
@ -269,6 +268,11 @@ object Future {
}
/**
* Signals that the current thread of execution will potentially engage
* in blocking calls after the call to this method, giving the system a
* chance to spawn new threads, reuse old threads or otherwise, to prevent
* starvation and/or unfairness.
*
* Assures that any Future tasks initiated in the current thread will be
* executed asynchronously, including any tasks currently queued to be
* executed in the current thread. This is needed if the current task may