It is currently Fri, 24 May 2013 14:38:02 GMT



 
Author Message
 Sharing A Device / Shared Memory Issues
Hi All,

Need help sharing a device.  I've got a device that I can open and
establish a single connection to at any given time via open().  The
device is a timing card and needs to be accessbile by many processes; I
don't have 10ms to wait around for the device to be opened,queried, and
closed in order for another process to use it.

I tried writing a daemon that updates a shared memory space with other
processes can query, but the memory space is not being updated at a
consistent rate.  Therefore, I have some questions I hope somebody
might be able to answer:

- I'm running a 4-processor Solaris box; is there some type of
shm?flush? call I need to perform to have each processor see the memory
being updated?

- Is there a better way to do this in general -- i.e. another method of
IPC that is more reliable?

Any insight is appreciated.



 Sat, 12 Apr 2008 22:42:16 GMT   
 
   [ 1 post ] 

Similar Threads

1. Shared Memory Issue

2. Shared Memory, Apache 1.3 and other issues

3. shared memory programming issue

4. Solaris Shared Memory, Shared Libraries and Heap

5. Using a shared lib as shared memory: Possible?

6. Shared Library/Shared Memory

7. help sharing shared memory between non sibling processes

8. Shared memory: sharing a specific location


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software