On Wed, Oct 29, 2014 at 2:52 PM, 姚驰 <[email protected]> wrote: > bolt on members not thread-safe occured with lock like "synchronize" while > others not, > so if I run a bolt with multi-tasks, will the members in it be shared > across these threads? Should I make sure that all members are thread-safe? > >
Hi Yaochi, Each bolt can have multiple tasks. Each task is represented by an isolated instance, their member fields are not shared.
