• Philippe Gerum's avatar
    evl/mutex: convert mutex lock to hard lock · e2041e78
    Philippe Gerum authored
    
    
    For the most part, a thread hard lock - which requires hard irqs to be
    off - is nested with the mutex lock to access the protected
    sections. Therefore we would not benefit in the common case from the
    preemption disabling feature we are going to add to the EVL-specific
    spinlock. Make it a hard lock to clarify the intent.
    Signed-off-by: default avatarPhilippe Gerum <rpm@xenomai.org>
    e2041e78
mutex.c 29.5 KB