How do I synchronize access to shared memory in LynxOS/POSIX?

前端 未结 4 1390
天命终不由人
天命终不由人 2020-12-05 03:17

I am implementing two processes on a LynxOS SE (POSIX conformant) system that will communicate via shared memory.

One process will act as a \"producer\" and the othe

4条回答
  •  独厮守ぢ
    2020-12-05 04:13

    This is done with unnamed POSIX semaphores, i.e. the semaphores themselves are placed in shared memory.

提交回复
热议问题