I still have no idea what you mean by "wait" here. Do you mean "block"?
Please either show some code to illustrate or be more specific, it's
impossible to answer otherwise and it just ends up being a lot of replying
for nothing. :(

-- 
Cheers,
√
On 26 Aug 2015 08:28, "kraythe" <[email protected]> wrote:

> If you need the results of the generated futures then it waits for them
> all to be completed. Process A needs the results of Process B in order to
> complete. This is a pretty common paradigm in our software.
>
> -- Robert
>
> On Tuesday, August 25, 2015 at 9:43:11 PM UTC-5, √ wrote:
>>
>> how does that wait?
>>
>> --
>> Cheers,
>> √
>> On 25 Aug 2015 18:17, "kraythe" <[email protected]> wrote:
>>
>>> Call another actor using an ask pattern.
>>>
>>> On Tuesday, August 25, 2015 at 7:22:00 PM UTC-5, √ wrote:
>>>>
>>>> define "wait for the responses to send back to the caller"
>>>>
>>>> On Tue, Aug 25, 2015 at 12:04 PM, kraythe <[email protected]> wrote:
>>>>
>>>>> Lets say that we create a pool of 5 actors using round robin logic and
>>>>> then we send 5 messages at the same time and those messages in the course
>>>>> of being processed send another 5 messages each to the actor and wait for
>>>>> the responses to send back to the caller. If this was a java executor it
>>>>> would eventually deadlock waiting for the second set of calls to complete.
>>>>> Is the same deadlock possible with Akka? If not then what would prevent 
>>>>> it?
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>> --
>>>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>> >>>>>>>>>> Check the FAQ:
>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>> >>>>>>>>>> Search the archives:
>>>>> https://groups.google.com/group/akka-user
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Akka User List" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> To post to this group, send email to [email protected].
>>>>> Visit this group at http://groups.google.com/group/akka-user.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Cheers,
>>>> √
>>>>
>>> --
>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>> >>>>>>>>>> Check the FAQ:
>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>> >>>>>>>>>> Search the archives:
>>> https://groups.google.com/group/akka-user
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Akka User List" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to