check rwlock support