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

How can I avoid this error using r_ osgi what is the purpose of the the customization required ? 

×××× ××-iPhone ×××

×-3 ×××× 2011, ×××× 02:16, Scott Lewis <slewis@xxxxxxxxxxxxx> ×××/×:

Hi Ronen,

On 4/2/2011 3:33 PM, ronen hamias wrote:
Hi Scott,
 
i am using r_osgi it appears to be on the consumer side
 
while debugging :

org.eclipse.ecf.internal.provider.r_osgi.RemoteServiceImpl

i have found that the callSync uses:

IExecutor executor =

new
ThreadsExecutor();

IFuture future = executor.execute(

new
IProgressRunnable() { public
Object run(IProgressMonitor monitor) throws Exception { final Method method = ClassUtil.getMethod(service.getClass(), call.getMethod(), formalParams); return method.invoke(service, parameters);

}

},

null);

the client uses thread pool as well?


Yes.

can it be controled?


Yes, but it may require some customization/modification of the r-osgi provider. 

Scott


_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev