[ECOS] thread & resources lock

fazio@planetek.it fazio@planetek.it
Fri Dec 12 09:35:00 GMT 2003

I have a doubt about resouces management used by two threads: one thread writes a 
variable and the other one reads its content. Do I have to lock the resource only when I 
write it or both in writing and reading?

P.S. I'm using ecos on v850 target.

Teresa Fazio.

Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list