Re: Mutex obtain with timeout

2014-12-19 Thread Sebastian Huber
On 19/12/14 14:53, Hesham Moustafa wrote: On Thu, Dec 18, 2014 at 4:38 PM, Joel Sherrill wrote: > >On 12/18/2014 9:40 AM, Hesham Moustafa wrote: >>On Thu, Dec 18, 2014 at 3:38 PM, Joel Sherrill >> wrote: >>> >>>On December 18, 2014 5:18:31 AM PST, Sebastian Huber wrote: Hello,

Re: Mutex obtain with timeout

2014-12-19 Thread Hesham Moustafa
On Thu, Dec 18, 2014 at 4:38 PM, Joel Sherrill wrote: > > On 12/18/2014 9:40 AM, Hesham Moustafa wrote: >> On Thu, Dec 18, 2014 at 3:38 PM, Joel Sherrill >> wrote: >>> >>> On December 18, 2014 5:18:31 AM PST, Sebastian Huber >>> wrote: Hello, I work currently on concepts to imple

Re: Mutex obtain with timeout

2014-12-18 Thread Peter Dufault
> On Dec 18, 2014, at 11:12 , Gedare Bloom wrote: > > In general, I would suspect any "real-time" application that uses a > mutex with a timeout. I suppose you could construct a valid way to use > them, such as in a low-priority task that could lose the lock, and > thus 'checks' for the conditio

Re: Mutex obtain with timeout

2014-12-18 Thread Joel Sherrill
On 12/18/2014 9:40 AM, Hesham Moustafa wrote: > On Thu, Dec 18, 2014 at 3:38 PM, Joel Sherrill > wrote: >> >> On December 18, 2014 5:18:31 AM PST, Sebastian Huber >> wrote: >>> Hello, >>> >>> I work currently on concepts to implement mutex objects with SMP aware >>> locking protocols. Currentl

Re: Mutex obtain with timeout

2014-12-18 Thread Gedare Bloom
On Thu, Dec 18, 2014 at 8:18 AM, Sebastian Huber wrote: > Hello, > > I work currently on concepts to implement mutex objects with SMP aware > locking protocols. Currently this is MrsP [1] and OMIP [2]. The > implementation should use fine grained locking. It turned out that the > support for tim

Re: Mutex obtain with timeout

2014-12-18 Thread Hesham Moustafa
On Thu, Dec 18, 2014 at 3:38 PM, Joel Sherrill wrote: > > > On December 18, 2014 5:18:31 AM PST, Sebastian Huber > wrote: >>Hello, >> >>I work currently on concepts to implement mutex objects with SMP aware >>locking protocols. Currently this is MrsP [1] and OMIP [2]. The >>implementation shoul

Re: Mutex obtain with timeout

2014-12-18 Thread Joel Sherrill
On December 18, 2014 5:18:31 AM PST, Sebastian Huber wrote: >Hello, > >I work currently on concepts to implement mutex objects with SMP aware >locking protocols. Currently this is MrsP [1] and OMIP [2]. The >implementation should use fine grained locking. It turned out that the > >support f

Mutex obtain with timeout

2014-12-18 Thread Sebastian Huber
Hello, I work currently on concepts to implement mutex objects with SMP aware locking protocols. Currently this is MrsP [1] and OMIP [2]. The implementation should use fine grained locking. It turned out that the support for timeout makes the implementations much more complicated. With tim