Re: perthread or singleton

2011-03-18 Thread Thiago H. de Paula Figueiredo
On Fri, 18 Mar 2011 15:14:47 -0300, bogdan_cm wrote: Hi, Hi! As the methods return void This doesn't make any difference as long as the returned value isn't shared between threads or it doesn't have mutable state. and do not change any shared variable, they are basically atomic ope

Re: perthread or singleton

2011-03-18 Thread Thiago H. de Paula Figueiredo
: http://tapestry.1045711.n5.nabble.com/perthread-or-singleton-tp3975921p3975921.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional

perthread or singleton

2011-03-18 Thread bogdan_cm
ariable, they are basically atomic operations even without the use of the synchronized keyword. Any suggestions? Thanks, Bogdan. -- View this message in context: http://tapestry.1045711.n5.nabble.com/perthread-or-singleton-tp3975921p3975921.html Sent from the Tapestry - User