Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::StorageLock Class Reference
Collaboration diagram for duckdb::StorageLock:

Public Member Functions

unique_ptr< StorageLockKeyGetExclusiveLock ()
 Get an exclusive lock.
 
unique_ptr< StorageLockKeyGetSharedLock ()
 Get a shared lock.
 
unique_ptr< StorageLockKeyTryGetExclusiveLock ()
 Try to get an exclusive lock - if we cannot get it immediately we return nullptr
 
unique_ptr< StorageLockKeyTryUpgradeCheckpointLock (StorageLockKey &lock)
 

Private Attributes

shared_ptr< StorageLockInternalsinternals
 

Member Function Documentation

◆ TryUpgradeCheckpointLock()

unique_ptr< StorageLockKey > duckdb::StorageLock::TryUpgradeCheckpointLock ( StorageLockKey lock)

This is a special method that only exists for checkpointing This method takes a shared lock, and returns an exclusive lock if the parameter is the only active shared lock If this method succeeds, we have both a shared and exclusive lock active (which normally is not allowed) But this behavior is required for checkpointing


The documentation for this class was generated from the following file: