On 4/1/2014 7:05 AM, Swril wrote: > I have an AE that I am running in a CPE. > The AE has a ExternalResource to a SharedResourceObject. > I set the setMaxProcessingUnitThreadCount to 5. > > When I run the pipeline, I am getting errors like NPE which hinted that > things are out-of-step due to the multiple threads. > > Are there any advice on what to do for using AE with ExternalResource in a > CPE?
One thought: it's probably necessary to write the code you supply for the SharedResourceObject to be thread safe. A good source for understanding the complex details around how to do this is http://lmgtfy.com/?q=java+concurrency+in+practice . -Marshall > > >
