Function solana_validator::lock_ledger
source · pub fn lock_ledger<'path, 'lock>(
ledger_path: &'path Path,
ledger_lockfile: &'lock mut RwLock<File>
) -> RwLockWriteGuard<'lock, File>
pub fn lock_ledger<'path, 'lock>(
ledger_path: &'path Path,
ledger_lockfile: &'lock mut RwLock<File>
) -> RwLockWriteGuard<'lock, File>