[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Thread pooling

On 4/3/2011 9:07 AM, Ronen.hamias wrote:
Hi ScottÂ
Why the client side uses thread at all at sync call why not letting the caller decide what thread pooling by not supporting thread pooling from the consumer side the caller can wrap the invocation with a runnable and use thread polling of his choose ?
Just a thought...

Hi Ronen. It's a reasonable thought...although there are some excellent reasons to have built-in support for asynchronous invocation...and ECF has such support...see [1].Â

But if you wish to generalize things to support either a single-threaded or multi-threaded use case (and this is easily done through the use of IExecutor impls other than ThreadsExecutor)...then please open bug, and contribute the generalization.

ECF is a community-supported project...so if you get something out of it...please reciprocate by supporting and contributing to it.

Scott

[1] http://wiki.eclipse.org/ECF/Asynchronous_Remote_Services