Update akka-actor/src/main/scala/akka/dispatch/Future.scala
This commit is contained in:
parent
1333700c0d
commit
6cb1914b5c
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue