LK_SHARED
#define os_rwl_rlock(lock) lockmgr(lock, LK_SHARED);
if ((flags & LK_SHARED) != 0)
} else if ((flags & LK_SHARED) != 0) {