keinstein
Junior Member level 1

Can someone help me to write a program where two
processes updating a common resource (e.g. a global variable, a buffer, etc), with one process takes longer to run than the other. Observe the behaviour with and without the use of a semaphore. I'm a newbie to uC/OS-II. Any help will be appreciated.
:?:
processes updating a common resource (e.g. a global variable, a buffer, etc), with one process takes longer to run than the other. Observe the behaviour with and without the use of a semaphore. I'm a newbie to uC/OS-II. Any help will be appreciated.
:?: