This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AW: Global variables in eCos program. Access accross threads??


> Von: ecos-discuss-owner@ecos.sourceware.org
> 
> Hi,
> 
> Global variables are declared in a eCos program. Can these global
> variables accessed by all the threads(started in that program), ISRs
> and DSRs belonging to that program?
> 
> thanks,
> praveen.

Yes, but you have to ensure that you access them properly synchronized (if this is required).

Alex

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]