fork-join

Concurrent directory traversal algorithm hang problem

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...

Resources on the upcoming fork-join framework

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. ...

Using scala actor framework as fork-join computation?

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...

Executing a simple task on another thread in scala

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...

Difference between Fork/Join and Map/Reduce

What is the key difference between Fork/Join and Map/Reduce? Do they differ in the kind of decomposition and distribution (data vs. computation)? ...

Java 7: Fork/Join Framework

Can someone explain what Fork/Join is? ...

Fork/Join task (jsr166y) and speed-up

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...