A
A
Artem2014-12-07 13:06:23
Java
Artem, 2014-12-07 13:06:23

How does the call stack of a recursive multithreaded function behave?

Actually, I would like to know (at least on the fingers) how does the call stack of such a function lead?

public Result loop(/* params */){
if(/*conditions*/){
   return result;
} else {
/* multithread computations and call loop in another thread with other params*/
}
}

In other words, how does RecursiveTask work inside (at least on the fingers) ?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question