Global Variable getting corrupt between Tasks

sachindbhujbal wrote on Monday, November 24, 2008:

Dear All,
    I have declared a global variable which is upadted in one task, say TaskA & checking that variable in another task, say TaskB.

rnowotny wrote on Monday, November 24, 2008:

You need to declare static volatile
Yours sincerely Robert