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



On 2007-10-23, aeroboro221@xxxxxxxxxxxxxx <aeroboro221@xxxxxxxxxxxxxx> wrote:

By the way, there is no concept of semaphores between two
processors right?

Sure there is.

What I can think of is a flag shared between the two
processors by means of shared RAM or a messaging unit.

A flag + a couple atomic operations == semaphore.

--
Grant Edwards grante Yow! People humiliating
at a salami!
visi.com
.



Relevant Pages

  • Re: Inter-processor atomic operationss
    ... difference between the implementation of this hypothetical synchronization ... Need to either always use a keyed event for the wait semaphore ... Don't refer to any memory not in the shared memory region. ... Does the Interlocked API set guarantee inter CPU atomic operations ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Inter-processor atomic operationss
    ... APIs to get at the wait semaphore. ... duplicate it into the other process.) ... Does the Interlocked API set guarantee inter CPU atomic operations ... JUST inter thread atomic operations. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Inter-processor atomic operationss
    ... APIs to get at the wait semaphore. ... duplicate it into the other process.) ... JUST inter thread atomic operations. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: reader writer semaphores
    ... user tasks compete for the same semaphore, ... test-and-set of a flag could be used in a tight loop to wait until the ... Seems like that would avoid kernel calls altogether, whether "fast-path" ...
    (comp.unix.programmer)
  • Re: Inter-processor atomic operationss
    ... APIs to get at the wait semaphore. ... Does the Interlocked API set guarantee inter CPU atomic operations ... JUST inter thread atomic operations. ...
    (microsoft.public.win32.programmer.kernel)