Is 'Mutex' the only machine-wide sync mechanism?

  • Thread starter Thread starter David Sworder
  • Start date Start date
D

David Sworder

Hi there,

I'm looking for something like a ReaderWriterLock, but machine-specific
instead of process-specific. Does such a class exist? I can think of various
ways to roll my own but am reluctant to do so if there is already a .NET
class that accomplishes this.

David
 
David,

it is the only atomic kernel based object that has machine scope.

regards
roy fine
 
You can wrap the Win32 events and semaphore objects pretty easy. Naturally,
the sync locks are one thing, you still need a shared memory area like a
Memory Mapped File (or other IPC) to share the data your protecting (unless
your using a file or something.)
 
Back
Top