Re: Concurent I/O Index and Data registers access

From: Steve Maillet \(eMVP\) (nospam1_at_EntelechyConsulting.com)
Date: 02/20/04


Date: Fri, 20 Feb 2004 18:09:26 -0500

If a register is accessed from multiple processes you can protect it with a
Mutex or you can put the code to manipulate it in the OAL and use a Critical
section within that.

-- 
Steve Maillet (eMVP)
Entelechy Consulting
smaillet_AT_EntelechyConsulting_DOT_com


Relevant Pages

  • Re: Multi threading / synchronization object
    ... Which synchroniztion method should I use and why should I use that ... exclusive access to a shared resource you can use a mutex or a critical section. ... A critical section is generally more efficient, but it cannot be used by multiple processes. ...
    (microsoft.public.vc.mfc)
  • Re: help w/ mutex
    ... Not sure I follow your code exactly, but a single thread can acquire a mutex *recursively* What they are designed to ... protect against is multiple threads accessing some resource at the same time. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: semaphore question
    ... You might modify global data, you might modify the internal state of a ... mutex that protects the object that code manipulates. ... How would you use a mutex or semaphore to protect something other than ... If there's conflicting data, there will be a problem whether or not ...
    (comp.os.linux.development.system)
  • Re: sysctl locking
    ... > 2) Extend the simple sysctl handler to use this mutex to protect the actual ... We must not hold the mutex during the useland copy in/out so ... This might need some extension for complex handler (i.e. ... If a sysctl needs that level of protection, it seems like they need to ...
    (freebsd-arch)
  • Re: sysctl locking
    ... > 2) Extend the simple sysctl handler to use this mutex to protect the actual ... We must not hold the mutex during the useland copy in/out so ... This might need some extension for complex handler (i.e. ... If a sysctl needs that level of protection, it seems like they need to ...
    (freebsd-current)