Re: Should finished variable in FollowerRequestProcessor be declared volatile?

2014-05-29 Thread Pramod Biligiri
Will do. Pramod On Wed, May 28, 2014 at 9:50 AM, Raúl Gutiérrez Segalés wrote: > On 27 May 2014 13:57, Pramod Biligiri wrote: > > > Hi, > > FollowerRequestProcessor has a boolean variable called *finished* which > is > > used to check if the thread ought to continue running. I'm wondering why

Re: Should finished variable in FollowerRequestProcessor be declared volatile?

2014-05-28 Thread Raúl Gutiérrez Segalés
On 27 May 2014 13:57, Pramod Biligiri wrote: > Hi, > FollowerRequestProcessor has a boolean variable called *finished* which is > used to check if the thread ought to continue running. I'm wondering why it > is not declared as volatile. Similar variables in other RequestProcessor-s > have been de

Should finished variable in FollowerRequestProcessor be declared volatile?

2014-05-27 Thread Pramod Biligiri
Hi, FollowerRequestProcessor has a boolean variable called *finished* which is used to check if the thread ought to continue running. I'm wondering why it is not declared as volatile. Similar variables in other RequestProcessor-s have been declared volatile. Pramod