isosurface/tbb/tbb-2018_U6/src/old/spin_rw_mutex_v2.h
bool upgrade_to_writer() {
            __TBB_ASSERT( mutex, "lock is not acquired" );
            __TBB_ASSERT( !is_writer, "not a reader" );
            is_writer = true;
            return internal_upgrade(mutex);
        }
//! Upgrade reader to become a writer.
/** Returns whether the upgrade happened without releasing and re-acquiring the lock */
Upgrade reader to become a writer.
Returns whether the upgrade happened without releasing and re-acquiring the lock
Upgrade reader to become a writer . Returns whether the upgrade happened without releasing and re - acquiring the lock
bool upgrade_to_writer() {
            __TBB_ASSERT( mutex, "lock is not acquired" );
            __TBB_ASSERT( !is_writer, "not a reader" );
            is_writer = true;
            return internal_upgrade(mutex);
        }
bool upgrade_to_writer ( ) { __TBB_ASSERT ( mutex , " " ) ; __TBB_ASSERT ( ! is_writer , " " ) ; is_writer = true ; return internal_upgrade ( mutex ) ; }
Upgrade reader to become a writer.
Upgrade reader to become a writer .