jlu xiao

Semaphores and shared memory issue

Discussion created by jlu xiao on Apr 18, 2017
Latest reply on Apr 21, 2017 by Martin Kovar

Dear Martin Kovar

Thank you for your answer of my question ! But I still have some questions I want to consult you .

As we know , in a dual-processor chip, semaphores are used to let each processor know who has control of common memory.

I want to know whether the global variable is set default in both core's common memory. If not , can you ask me how to configure shared memory and make global variable in the shared memory .

Hope to get your help !