This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Sharing memory between multiple applications

Other Parts Discussed in Thread: TDA4VM
Like the fd exchange example, create an application that captures camera images, and create vx_image in that application.
Other applications want to share and process the images created by the camera application.
Currently, there is one application that updates the image, and there are four applications that receive and process the image.
If the capture application updates the image and notifies the consumer applications, each application reads and processes the referenced image.
I would like to know if there is any possibility of conflicts in the read/write process when implementing like this (share same memory and access in multiple process or thread).
I would like to know how each process can use (read/write) an image data (from the same memory area) to avoid collisions.
I wonder if it is possible to safely write/read data in multiple applications and processes by using the mapping / unmapping functions, which is the basic method of tiovx.
Please comment on this.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
안녕하세요
카메라 영상을 캡쳐하는 application을 만들고 그 application에서 vx_image를 만들고 
fd exchange 예제처럼 다른 application에서 카메라 application에서 만든 이미지와 메모리를 공유받아 처리하고자 합니다.
현재 이미지를 업데이트 하는 것은 하나의 application이고 이미지를 받아 처리하고자 하는 application은 4개 입니다. 
캡쳐 application에서 이미지를 업데이트 하고 consumer application 들에게 통보를 해주면 각 application은 참조하고 있는 이미지를 읽어와 처리하고자 합니다.
이렇게 구현할 때 읽고 쓰는 과정에서 충돌이 생길 가능성이 있는지 알고 싶습니다.
혹시 충돌을 피할려면 어떻게 이미지(프로세스 간에 공유하고 있는 메모리)를 사용하면되는지 알고 싶습니다.
tiovx의 기본 방식인 mapping / unmapping 함수를 이용하면 여러 Application 및 Process에서 안전하게 데이터를 쓰고 / 읽을 수 있는지 궁금합니다.
이에 대한 의견 부탁드립니다.