<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Shared memory locking /unlocking</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/30216a12e8/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/30216a12e8/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/30216a12e8/</id><updated>2020-02-27T14:02:20.768000Z</updated><subtitle>Recent posts to Shared memory locking /unlocking</subtitle><entry><title>Shared memory locking /unlocking</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/30216a12e8/?limit=25#cdef" rel="alternate"/><published>2020-02-27T14:02:20.768000Z</published><updated>2020-02-27T14:02:20.768000Z</updated><author><name>praveena</name><uri>https://forge.codesys.com/u/praveena/</uri></author><id>https://forge.codesys.comb9b275c33eea62fdbe57e45d36f9f3ed110778cc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hI,&lt;br/&gt;
                       We  have implemented shared memory in Codesys environment. This  application is downloaded on to the  QNX based Power PC target. Another  QNX application  is accessing the  same shared memory. We are writing data from Codesys application on to the shared memory and reading the same from the QNX  application successfully.&lt;br/&gt;
There seems to be no clash in  writing and reading from different applications.&lt;br/&gt;
But we  understand that some synchronization mechanism has to be used to avoid  simultaneous access of shared memory.&lt;br/&gt;
How can we implement this from the codesys application  and achieve the  synchronization.?&lt;br/&gt;
Can you provide any examples which will  help us understand it. What are the libraries to be use in the same?&lt;/p&gt;
&lt;p&gt;With regards,&lt;br/&gt;
praveena&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>