top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to code using fork-join framework?

+3 votes
256 views
How to code using fork-join framework?
posted Apr 17, 2015 by Dominic

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Fork-join functionality is achieved by ForkjoinTask object, it has two method fork() and join () Method.

The fork() method allows a new ForkJoinTask to be launched from an existing one.
The join() method allows a ForkJoinTask to wait for the completion of another one.

Again ForkjoinTask object has been of two types: RecursiveAction and RecursiveTask which is more specialized form of this instance. While RecursiveAction represent executions that do not yield a return value, Instances of RecursiveTask yield return values.

answer Apr 20, 2015 by Karthick.c
Similar Questions
+1 vote

How can we debug the Android framework Java code? i know how I can debug the c/c++ code with the help of GDB server etc, but I searched a lot on Google but did not get the solution, currently i am totally relying on Logs but I really need something to Debug the java code inside framework and etc?
please give me some pointers or some details about debugging AOSP framework java code?

...