Skip navigation.
Home
The QNX Community Portal

View topic - How to interlock processes in QNX4

How to interlock processes in QNX4

For the old QNX2 and QNX4 RTOS

How to interlock processes in QNX4

Postby tommym121 » Thu Mar 18, 2010 11:07 pm

Is there any good examples on how to do a interlock two processes. I need to lock out one process while I have another process access the shared memory.
tommym121
New Member
 
Posts: 7
Joined: Wed Aug 05, 2009 6:01 pm

Postby Tim » Fri Mar 19, 2010 1:35 pm

Tommy,

Generally this is done by putting having a Mutex in shared memory. Here are a couple of topics that roughly cover what you want to do.

http://www.openqnx.com/index.php?name=P ... red+memory
http://www.openqnx.com/index.php?name=P ... red+memory

The other option is to create a resource manager to control access to the shared memory. This topic covers that concept.

http://www.openqnx.com/index.php?name=P ... red+memory

Tim
Tim
Senior Member
 
Posts: 1392
Joined: Wed Mar 10, 2004 12:28 am


Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 1 guest