atomic_free_locking/PetersonLock.h
/// Release the already-acquired lock for the specified thread (0 or 1).
Release the already-acquired lock for the specified thread (0 or 1).
Release the already - acquired lock for the specified thread ( 0 or 1 ) .
void release(bool thread)
    {
        assert(m_interested[thread]);
        m_interested[thread] = false;
    }
void release ( bool thread ) { assert ( m_interested [ thread ] ) ; m_interested [ thread ] = false ; }
Release the already-acquired lock for the specified thread (0 or 1).
Release the already - acquired lock for the specified thread ( 0 or 1 ) .