[concurrency-interest] ForkJoinExecutor.invoke and ForkJoinTask.invoke

Mark Thornton mthornton at optrak.co.uk
Thu Dec 13 07:03:47 EST 2007


If you call ForkJoinExecutor.invoke from within a task being run by that 
executor should it behave as ForkJoinTask.invoke?
The current behaviour is that it blocks. This means that for some tasks 
I need to provide two routes for invoking them depending on whether the 
invoker is another task or not.

Regards,
Mark Thornton



More information about the Concurrency-interest mailing list