R
Rahul
Hi,
I was looking at the link which says the following,
http://www.netrino.com/Embedded-Systems/How-To/RTOS-Preemption-Multitasking
"When tasks share resources such as global variables, data structures,
or peripheral control and status registers, an operating system
primitive called a mutex must be used to prevent race conditions"
And i was wondering how a global variable could be shared by two
independent tasks developed in c++?
I was looking at the link which says the following,
http://www.netrino.com/Embedded-Systems/How-To/RTOS-Preemption-Multitasking
"When tasks share resources such as global variables, data structures,
or peripheral control and status registers, an operating system
primitive called a mutex must be used to prevent race conditions"
And i was wondering how a global variable could be shared by two
independent tasks developed in c++?