On Wed, Jan 19, 2011 at 11:53 PM, Dennis Sosnoski <[email protected]> wrote: > The stubs are reusable, but not reentrant - so if you're running > multiple threads you'll want to either create a new one each time > (higher overhead), cache them per thread, or synchronize around each use > (only if there's not much use, of course - in which case you're probably > better off creating a new one each time anyway).
Wait - so are you saying (stubs are not reentrant) that if you maintain a common pool of stubs that gets used across multiple threads - that is not supported? Because I've been doing that successfully for a LONG time now. -Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
