I have created a concurrent, recursive directory traversal and file processing program, which sometimes hangs after all parallel computations have finished but the 'primary' thread never continues with other tasks.
The code is basically a fork-join style concurrent aggregator, and after the parallel aggregation completes, it should dis...
I'm looking for well organized information sources about how the upcoming jsr166y (fork-join, fences) and extras166y (ParallelArray, etc.) can be used - something from tutorial to expert level.
...
Is it possible, in theory, to use the Scala Actor Framework to do a kind of asynchronous divide-and-conquer computation similarly to JDK 7's Fork-Join framework? If so, how could I express an FJ problem with the framework - for example, the tutorial mergesort concept? Code snipplets are welcome.
(I came to the idea based on a resource v...
I was wondering if there was a way to execute very simple tasks on another thread in scala that does not have a lot of overhead?
Basically I would like to make a global 'executor' that can handle executing an arbitrary number of tasks. I can then use the executor to build up additional constructs.
Additionally it would be nice if block...
What is the key difference between Fork/Join and Map/Reduce?
Do they differ in the kind of decomposition and distribution (data vs. computation)?
...
Can someone explain what Fork/Join is?
...
I tried to speed up some toy examples code using jsr166y. I have not been able to reach any success, whatever the class/methods I used. I even tried the code featured in the IBM developer works paper without any success.
Do you have some positive experience with this new framework ? Are there some better implementations ?
Edit: I runne...