Re: How to read/write an 'address' from a memory location......



On 22/10/2007 aeroboro221@xxxxxxxxxxxxxx wrote:

..
..
..
My problem is: I have two processors exchanging data over a shared
section of memory. Now before processor 1 can write the data for
processor 2 (in the shared memory), processor 1 needs to tell
processor 2 where exactly it will be writing. Thats where i was coming
from - processor 1 basically needs to write an "address" into a
predefined location for processor 2 and that "address" will hold the
actual data for processor 2.

Thanks a lot for all your clarifications. I should try some of them
now!

Warm regards,
Rintu

Ah, the pleasures of using dual-port RAM. You need to have a good
handle on the use of semaphores so that the data is not overwritten
before the second processor has read it.

--
John B
.



Relevant Pages

  • Re: IPC mechanisms supported in Windows CE
    ... Thanks Paul, Daniel and John for your valuable replies. ... For shared memory, what's the equivalent of OpenFileMappingin Windows CE, ...
    (microsoft.public.windowsce.app.development)
  • Re: IPC mechanisms supported in Windows CE
    ... > Thanks Paul, Daniel and John for your valuable replies. ... > I was thinking more of using shared memory or message queues for the same. ...
    (microsoft.public.windowsce.app.development)
  • Re: mmap with large pages?
    ... > John F. Carr wrote: ... >> A few releases ago Sun added an option to the shared memory ...
    (comp.unix.solaris)
  • AF_UNIX Supported in Winsock 2? How?
    ... does the implementation bypass the IP stack and send via shared memory? ... John ...
    (microsoft.public.win32.programmer.kernel)