[ace-users] ACE_Thread_Mutex + priority inheritance
Douglas C. Schmidt
schmidt at dre.vanderbilt.edu
Mon Jul 16 15:37:47 CDT 2007
Thanks for using the PRF.
> ACE_VERSION: 5.5.9
> The constructor of ACE_Thread_Mutex is as follows:
> ACE_Thread_Mutex (const ACE_TCHAR *name=0, ACE_mutexattr_t
> Notice that there is an optional argument called attributes. What I'm
> trying to find out if there is a portable way under real-time operating
> systems to have ACE_Thread_Mutex employ a priority inheritance protocol
> to avoid the potential for priority inversion.
> Is such a thing possible in ACE?
I don't think this is possible with ACE (yet), but it should probably be
added, e.g., by creating a new ACE_Priority_Inheritance_Thread_Mutex
class that uses ACE_Thread_Mutex and sets this attributes parameter
More information about the Ace-users