Hi,

for locking/unlocking resources i'm using volatile variables as mutexes
but that does work only sometimes with mspgcc. 
After changing the declaration

volatile unsigned char

to

volatile static unsigned char

now it works although in aout.lst only the line

00000200 g     O .data 00000001 c_mutex

is changed to

00000200 l     O .data  00000001 c_mutex
.

What can be the reason of the error?

Regards,

Rolf




Reply via email to