Bitcoin Core
31.1.0
P2P Digital Currency
Toggle main menu visibility
Loading...
Searching...
No Matches
src
kernel
cs_main.h
Go to the documentation of this file.
1
// Copyright (c) 2023-present The Bitcoin Core developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
#ifndef BITCOIN_KERNEL_CS_MAIN_H
6
#define BITCOIN_KERNEL_CS_MAIN_H
7
8
#include <
sync.h
>
9
20
extern
RecursiveMutex
cs_main
;
21
22
#endif
// BITCOIN_KERNEL_CS_MAIN_H
cs_main
RecursiveMutex cs_main
Mutex to guard access to validation specific variables, such as reading or changing the chainstate.
Definition
cs_main.cpp:8
sync.h
RecursiveMutex
AnnotatedMixin< std::recursive_mutex > RecursiveMutex
Wrapped mutex: supports recursive locking, but no waiting TODO: We should move away from using the re...
Definition
sync.h:120
Generated on
for Bitcoin Core by
1.17.0