mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 17:56:16 +00:00
589 lines
84 KiB
HTML
589 lines
84 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.14"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Dash Core: src/sync.h File Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(initResizable);
|
|
/* @license-end */</script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="bitcoin_logo_doxygen.png"/></td>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">Dash Core
|
|
 <span id="projectnumber">0.12.2.1</span>
|
|
</div>
|
|
<div id="projectbrief">P2P Digital Currency</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.14 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('sync_8h.html','');});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Classes</a> |
|
|
<a href="#define-members">Macros</a> |
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">sync.h File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include "<a class="el" href="threadsafety_8h_source.html">threadsafety.h</a>"</code><br />
|
|
<code>#include <boost/thread/condition_variable.hpp></code><br />
|
|
<code>#include <boost/thread/locks.hpp></code><br />
|
|
<code>#include <boost/thread/mutex.hpp></code><br />
|
|
<code>#include <boost/thread/recursive_mutex.hpp></code><br />
|
|
</div>
|
|
<p><a href="sync_8h_source.html">Go to the source code of this file.</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
|
Classes</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classAnnotatedMixin.html">AnnotatedMixin< PARENT ></a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classCMutexLock.html">CMutexLock< Mutex ></a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classCSemaphore.html">CSemaphore</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classCSemaphoreGrant.html">CSemaphoreGrant</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
|
Macros</h2></td></tr>
|
|
<tr class="memitem:acd61d0cb3b49f367728193720014aed0"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#acd61d0cb3b49f367728193720014aed0">AssertLockHeld</a>(cs)   <a class="el" href="sync_8h.html#a02dcb9057e60696179d85668ca6be50e">AssertLockHeldInternal</a>(#cs, __FILE__, __LINE__, &cs)</td></tr>
|
|
<tr class="separator:acd61d0cb3b49f367728193720014aed0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9ac9dd35b93432c0b194466d2aa84788"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#a9ac9dd35b93432c0b194466d2aa84788">PASTE</a>(x, y)   x ## y</td></tr>
|
|
<tr class="separator:a9ac9dd35b93432c0b194466d2aa84788"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad6f41535a782a4507947186ddcd56062"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#ad6f41535a782a4507947186ddcd56062">PASTE2</a>(x, y)   <a class="el" href="sync_8h.html#a9ac9dd35b93432c0b194466d2aa84788">PASTE</a>(x, y)</td></tr>
|
|
<tr class="separator:ad6f41535a782a4507947186ddcd56062"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a911fe23f057c2fe5aad629162d6c99d0"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#a911fe23f057c2fe5aad629162d6c99d0">LOCK</a>(cs)   <a class="el" href="sync_8h.html#a8a4a73fdc781f3f58f9729fce8b7d13c">CCriticalBlock</a> <a class="el" href="sync_8h.html#ad6f41535a782a4507947186ddcd56062">PASTE2</a>(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)</td></tr>
|
|
<tr class="separator:a911fe23f057c2fe5aad629162d6c99d0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a35644e2b75a93da0cb0f6c768f34efa8"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#a35644e2b75a93da0cb0f6c768f34efa8">LOCK2</a>(cs1, cs2)   <a class="el" href="sync_8h.html#a8a4a73fdc781f3f58f9729fce8b7d13c">CCriticalBlock</a> criticalblock1(cs1, #cs1, __FILE__, __LINE__), criticalblock2(cs2, #cs2, __FILE__, __LINE__)</td></tr>
|
|
<tr class="separator:a35644e2b75a93da0cb0f6c768f34efa8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aca08e7299069c2d60b8aa726fc550612"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#aca08e7299069c2d60b8aa726fc550612">TRY_LOCK</a>(cs, <a class="el" href="rest_8cpp.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>)   <a class="el" href="sync_8h.html#a8a4a73fdc781f3f58f9729fce8b7d13c">CCriticalBlock</a> <a class="el" href="rest_8cpp.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>(cs, #cs, __FILE__, __LINE__, true)</td></tr>
|
|
<tr class="separator:aca08e7299069c2d60b8aa726fc550612"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1262d24e5b9a4fa0a1adc4de02958efb"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#a1262d24e5b9a4fa0a1adc4de02958efb">ENTER_CRITICAL_SECTION</a>(cs)</td></tr>
|
|
<tr class="separator:a1262d24e5b9a4fa0a1adc4de02958efb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2b89bac48633dc1532691f1106a55f6c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#a2b89bac48633dc1532691f1106a55f6c">LEAVE_CRITICAL_SECTION</a>(cs)</td></tr>
|
|
<tr class="separator:a2b89bac48633dc1532691f1106a55f6c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr class="memitem:a37a4692b2d517f2843655ca11af7668a"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classAnnotatedMixin.html">AnnotatedMixin</a>< boost::recursive_mutex > </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#a37a4692b2d517f2843655ca11af7668a">CCriticalSection</a></td></tr>
|
|
<tr class="separator:a37a4692b2d517f2843655ca11af7668a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a341e0aa38106c4dbcedbba878dceb1a5"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classAnnotatedMixin.html">AnnotatedMixin</a>< boost::mutex > </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#a341e0aa38106c4dbcedbba878dceb1a5">CWaitableCriticalSection</a></td></tr>
|
|
<tr class="separator:a341e0aa38106c4dbcedbba878dceb1a5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acdd2020d08e99abd9504ea67d0190520"><td class="memItemLeft" align="right" valign="top">typedef boost::condition_variable </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#acdd2020d08e99abd9504ea67d0190520">CConditionVariable</a></td></tr>
|
|
<tr class="separator:acdd2020d08e99abd9504ea67d0190520"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8a4a73fdc781f3f58f9729fce8b7d13c"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classCMutexLock.html">CMutexLock</a>< <a class="el" href="sync_8h.html#a37a4692b2d517f2843655ca11af7668a">CCriticalSection</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#a8a4a73fdc781f3f58f9729fce8b7d13c">CCriticalBlock</a></td></tr>
|
|
<tr class="separator:a8a4a73fdc781f3f58f9729fce8b7d13c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:afc02589835b058cee9b180e89ee234c9"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#afc02589835b058cee9b180e89ee234c9">EnterCritical</a> (const char *pszName, const char *pszFile, int nLine, void *cs, bool fTry=false)</td></tr>
|
|
<tr class="separator:afc02589835b058cee9b180e89ee234c9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a222f17e7a4e1fb9bb5a36fe9aca460b8"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#a222f17e7a4e1fb9bb5a36fe9aca460b8">LeaveCritical</a> ()</td></tr>
|
|
<tr class="separator:a222f17e7a4e1fb9bb5a36fe9aca460b8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a02dcb9057e60696179d85668ca6be50e"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8h.html#a02dcb9057e60696179d85668ca6be50e">AssertLockHeldInternal</a> (const char *pszName, const char *pszFile, int nLine, void *cs)</td></tr>
|
|
<tr class="separator:a02dcb9057e60696179d85668ca6be50e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Macro Definition Documentation</h2>
|
|
<a id="acd61d0cb3b49f367728193720014aed0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acd61d0cb3b49f367728193720014aed0">◆ </a></span>AssertLockHeld</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define AssertLockHeld</td>
|
|
<td>(</td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">cs</td><td>)</td>
|
|
<td>   <a class="el" href="sync_8h.html#a02dcb9057e60696179d85668ca6be50e">AssertLockHeldInternal</a>(#cs, __FILE__, __LINE__, &cs)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="sync_8h_source.html#l00096">96</a> of file <a class="el" href="sync_8h_source.html">sync.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="validation_8cpp_source.html#l03400">AcceptBlock()</a>, <a class="el" href="validation_8cpp_source.html#l03330">AcceptBlockHeader()</a>, <a class="el" href="validation_8cpp_source.html#l00549">AcceptToMemoryPoolWorker()</a>, <a class="el" href="validation_8cpp_source.html#l02709">ActivateBestChainStep()</a>, <a class="el" href="wallet_8cpp_source.html#l00260">CWallet::AddHDPubKey()</a>, <a class="el" href="wallet_8cpp_source.html#l00288">CWallet::AddKeyPubKey()</a>, <a class="el" href="governance-classes_8cpp_source.html#l00104">CGovernanceTriggerManager::AddNewTrigger()</a>, <a class="el" href="wallet_8cpp_source.html#l01028">CWallet::AddToWalletIfInvolvingMe()</a>, <a class="el" href="wallet_8h_source.html#l00762">CWallet::CanSupportFeature()</a>, <a class="el" href="masternode_8cpp_source.html#l00122">CMasternode::CheckCollateral()</a>, <a class="el" href="validation_8cpp_source.html#l00213">CheckFinalTx()</a>, <a class="el" href="validation_8cpp_source.html#l01320">CheckForkWarningConditions()</a>, <a class="el" href="validation_8cpp_source.html#l01368">CheckForkWarningConditionsOnNewFork()</a>, <a class="el" href="validation_8cpp_source.html#l00346">CheckSequenceLocks()</a>, <a class="el" href="governance-classes_8cpp_source.html#l00154">CGovernanceTriggerManager::CleanAndRemove()</a>, <a class="el" href="validation_8cpp_source.html#l01956">ConnectBlock()</a>, <a class="el" href="transactiondesc_8cpp_source.html#l00027">TransactionDesc::FormatTxStatus()</a>, <a class="el" href="wallet_8cpp_source.html#l00103">CWallet::GenerateNewKey()</a>, <a class="el" href="governance-classes_8cpp_source.html#l00250">CGovernanceTriggerManager::GetActiveTriggers()</a>, <a class="el" href="wallet_8cpp_source.html#l03994">CWallet::GetAddressGroupings()</a>, <a class="el" href="governance-classes_8cpp_source.html#l00346">CSuperblockManager::GetBestSuperblock()</a>, <a class="el" href="wallet_8cpp_source.html#l00566">CWallet::GetConflicts()</a>, <a class="el" href="wallet_8cpp_source.html#l04416">CMerkleTx::GetDepthInMainChain()</a>, <a class="el" href="governance-classes_8h_source.html#l00173">CSuperblock::GetGovernanceObject()</a>, <a class="el" href="wallet_8cpp_source.html#l04273">CWallet::GetKeyBirthTimes()</a>, <a class="el" href="wallet_8h_source.html#l00978">CWallet::GetKeyPoolSize()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00609">CMasternodeMan::GetMasternodeScores()</a>, <a class="el" href="wallet_8cpp_source.html#l00856">CWallet::IncOrderPosNext()</a>, <a class="el" href="validation_8cpp_source.html#l02863">InvalidateBlock()</a>, <a class="el" href="governance-object_8cpp_source.html#l00502">CGovernanceObject::IsCollateralValid()</a>, <a class="el" href="wallet_8cpp_source.html#l04221">CWallet::IsLockedCoin()</a>, <a class="el" href="rbf_8cpp_source.html#l00017">IsRBFOptIn()</a>, <a class="el" href="wallet_8cpp_source.html#l03767">CWallet::KeypoolCountExternalKeys()</a>, <a class="el" href="wallet_8cpp_source.html#l03773">CWallet::KeypoolCountInternalKeys()</a>, <a class="el" href="wallet_8cpp_source.html#l04229">CWallet::ListLockedCoins()</a>, <a class="el" href="wallet_8cpp_source.html#l00252">CWallet::LoadHDPubKey()</a>, <a class="el" href="wallet_8cpp_source.html#l00334">CWallet::LoadKeyMetadata()</a>, <a class="el" href="wallet_8h_source.html#l00829">CWallet::LoadMinVersion()</a>, <a class="el" href="wallet_8cpp_source.html#l04193">CWallet::LockCoin()</a>, <a class="el" href="instantx_8cpp_source.html#l00278">CInstantSend::ProcessTxLockVote()</a>, <a class="el" href="validation_8cpp_source.html#l02903">ReconsiderBlock()</a>, <a class="el" href="txmempool_8cpp_source.html#l01006">CTxMemPool::RemoveStaged()</a>, <a class="el" href="wallet_8cpp_source.html#l00385">CWallet::RemoveWatchOnly()</a>, <a class="el" href="governance_8h_source.html#l00274">CGovernanceManager::ScopedLockBool::ScopedLockBool()</a>, <a class="el" href="wallet_8cpp_source.html#l04386">CMerkleTx::SetMerkleBranch()</a>, <a class="el" href="masternode_8cpp_source.html#l00718">CMasternodePing::SimpleCheck()</a>, <a class="el" href="transactionrecord_8cpp_source.html#l00319">TransactionRecord::statusUpdateNeeded()</a>, <a class="el" href="validation_8cpp_source.html#l03511">TestBlockValidity()</a>, <a class="el" href="validation_8cpp_source.html#l00328">TestLockPointValidity()</a>, <a class="el" href="txmempool_8cpp_source.html#l01108">CTxMemPool::trackPackageRemoved()</a>, <a class="el" href="wallet_8cpp_source.html#l04215">CWallet::UnlockAllCoins()</a>, <a class="el" href="wallet_8cpp_source.html#l04204">CWallet::UnlockCoin()</a>, <a class="el" href="instantx_8cpp_source.html#l00480">CInstantSend::UpdateLockedTransaction()</a>, <a class="el" href="transactionrecord_8cpp_source.html#l00231">TransactionRecord::updateStatus()</a>, and <a class="el" href="validation_8cpp_source.html#l04375">VersionBitsTipState()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1262d24e5b9a4fa0a1adc4de02958efb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1262d24e5b9a4fa0a1adc4de02958efb">◆ </a></span>ENTER_CRITICAL_SECTION</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define ENTER_CRITICAL_SECTION</td>
|
|
<td>(</td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">cs</td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<b>Value:</b><div class="fragment"><div class="line">{ \</div><div class="line"> EnterCritical(#cs, __FILE__, __LINE__, (<span class="keywordtype">void</span>*)(&cs)); \</div><div class="line"> (cs).lock(); \</div><div class="line"> }</div></div><!-- fragment -->
|
|
<p class="definition">Definition at line <a class="el" href="sync_8h_source.html#l00172">172</a> of file <a class="el" href="sync_8h_source.html">sync.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="mining_8cpp_source.html#l00337">getblocktemplate()</a>, <a class="el" href="util_8cpp_source.html#l00139">locking_callback()</a>, and <a class="el" href="governance_8cpp_source.html#l00929">CGovernanceManager::ProcessVote()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2b89bac48633dc1532691f1106a55f6c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2b89bac48633dc1532691f1106a55f6c">◆ </a></span>LEAVE_CRITICAL_SECTION</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define LEAVE_CRITICAL_SECTION</td>
|
|
<td>(</td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">cs</td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<b>Value:</b><div class="fragment"><div class="line">{ \</div><div class="line"> (cs).unlock(); \</div><div class="line"> LeaveCritical(); \</div><div class="line"> }</div></div><!-- fragment -->
|
|
<p class="definition">Definition at line <a class="el" href="sync_8h_source.html#l00178">178</a> of file <a class="el" href="sync_8h_source.html">sync.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="mining_8cpp_source.html#l00337">getblocktemplate()</a>, <a class="el" href="util_8cpp_source.html#l00139">locking_callback()</a>, and <a class="el" href="governance_8cpp_source.html#l00929">CGovernanceManager::ProcessVote()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a911fe23f057c2fe5aad629162d6c99d0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a911fe23f057c2fe5aad629162d6c99d0">◆ </a></span>LOCK</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define LOCK</td>
|
|
<td>(</td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">cs</td><td>)</td>
|
|
<td>   <a class="el" href="sync_8h.html#a8a4a73fdc781f3f58f9729fce8b7d13c">CCriticalBlock</a> <a class="el" href="sync_8h.html#ad6f41535a782a4507947186ddcd56062">PASTE2</a>(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="sync_8h_source.html#l00168">168</a> of file <a class="el" href="sync_8h_source.html">sync.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="net_8cpp_source.html#l01023">CConnman::AcceptConnection()</a>, <a class="el" href="instantx_8cpp_source.html#l00718">CInstantSend::AcceptLockRequest()</a>, <a class="el" href="governance_8cpp_source.html#l01245">CGovernanceManager::AcceptObjectMessage()</a>, <a class="el" href="validation_8cpp_source.html#l00549">AcceptToMemoryPoolWorker()</a>, <a class="el" href="governance_8cpp_source.html#l01251">CGovernanceManager::AcceptVoteMessage()</a>, <a class="el" href="validation_8cpp_source.html#l02808">ActivateBestChain()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00068">CMasternodeMan::Add()</a>, <a class="el" href="addrman_8h_source.html#l00487">CAddrMan::Add()</a>, <a class="el" href="hdchain_8cpp_source.html#l00178">CHDChain::AddAccount()</a>, <a class="el" href="txmempool_8cpp_source.html#l00426">CTxMemPool::addAddressIndex()</a>, <a class="el" href="governance_8cpp_source.html#l01281">CGovernanceManager::AddCachedTriggers()</a>, <a class="el" href="crypter_8cpp_source.html#l00324">CCryptoKeyStore::AddCryptedKey()</a>, <a class="el" href="wallet_8cpp_source.html#l00313">CWallet::AddCryptedKey()</a>, <a class="el" href="keystore_8cpp_source.html#l00041">CBasicKeyStore::AddCScript()</a>, <a class="el" href="masternodeman_8h_source.html#l00207">CMasternodeMan::AddDirtyGovernanceObjectHash()</a>, <a class="el" href="privatesend_8cpp_source.html#l00368">CPrivateSend::AddDSTX()</a>, <a class="el" href="netfulfilledman_8cpp_source.html#l00011">CNetFulfilledRequestManager::AddFulfilledRequest()</a>, <a class="el" href="masternodeman_8cpp_source.html#l01502">CMasternodeMan::AddGovernanceVote()</a>, <a class="el" href="net_8h_source.html#l00858">CNode::AddInventoryKnown()</a>, <a class="el" href="keystore_8cpp_source.html#l00034">CBasicKeyStore::AddKeyPubKey()</a>, <a class="el" href="crypter_8cpp_source.html#l00302">CCryptoKeyStore::AddKeyPubKey()</a>, <a class="el" href="net_8cpp_source.html#l00205">AddLocal()</a>, <a class="el" href="net_8cpp_source.html#l02405">CConnman::AddNode()</a>, <a class="el" href="net_8cpp_source.html#l00094">CConnman::AddOneShot()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00495">CMasternodeBlockPayees::AddPayee()</a>, <a class="el" href="governance_8h_source.html#l00386">CGovernanceManager::AddPostponedObject()</a>, <a class="el" href="net_8h_source.html#l00822">CNode::AddRef()</a>, <a class="el" href="addresstablemodel_8cpp_source.html#l00346">AddressTableModel::addRow()</a>, <a class="el" href="txmempool_8cpp_source.html#l00500">CTxMemPool::addSpentIndex()</a>, <a class="el" href="timedata_8cpp_source.html#l00045">AddTimeData()</a>, <a class="el" href="wallet_8cpp_source.html#l00880">CWallet::AddToWallet()</a>, <a class="el" href="txmempool_8cpp_source.html#l00366">CTxMemPool::AddTransactionsUpdated()</a>, <a class="el" href="txmempool_8cpp_source.html#l00372">CTxMemPool::addUnchecked()</a>, <a class="el" href="keystore_8cpp_source.html#l00085">CBasicKeyStore::AddWatchOnly()</a>, <a class="el" href="net_8cpp_source.html#l00628">CConnman::AddWhitelistedRange()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00109">CMasternodeMan::AllowMixing()</a>, <a class="el" href="instantx_8cpp_source.html#l00710">CInstantSend::AlreadyHave()</a>, <a class="el" href="init_8cpp_source.html#l00942">AppInit2()</a>, <a class="el" href="txmempool_8cpp_source.html#l00957">CTxMemPool::ApplyDeltas()</a>, <a class="el" href="governance_8h_source.html#l00416">CGovernanceManager::AreRateChecksEnabled()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00080">CMasternodeMan::AskForMN()</a>, <a class="el" href="addrman_8h_source.html#l00529">CAddrMan::Attempt()</a>, <a class="el" href="net_8cpp_source.html#l00924">CConnman::AttemptToEvictConnection()</a>, <a class="el" href="walletdb_8cpp_source.html#l00904">BackupWallet()</a>, <a class="el" href="net_8cpp_source.html#l00522">CConnman::Ban()</a>, <a class="el" href="net_8cpp_source.html#l00606">CConnman::BannedSetIsDirty()</a>, <a class="el" href="net__processing_8cpp_source.html#l00651">PeerLogicValidation::BlockChecked()</a>, <a class="el" href="wallet__tests_8cpp_source.html#l00068">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00245">CMasternodePayments::CanVote()</a>, <a class="el" href="db_8cpp_source.html#l00227">CDB::CDB()</a>, <a class="el" href="walletmodel_8cpp_source.html#l00495">WalletModel::changePassphrase()</a>, <a class="el" href="wallet_8cpp_source.html#l00447">CWallet::ChangeWalletPassphrase()</a>, <a class="el" href="privatesend-server_8cpp_source.html#l00392">CPrivateSendServer::ChargeFees()</a>, <a class="el" href="privatesend-server_8cpp_source.html#l00469">CPrivateSendServer::ChargeRandomFees()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00147">CMasternodeMan::Check()</a>, <a class="el" href="masternode_8cpp_source.html#l00139">CMasternode::Check()</a>, <a class="el" href="txmempool_8cpp_source.html#l00751">CTxMemPool::check()</a>, <a class="el" href="addrman_8h_source.html#l00474">CAddrMan::Check()</a>, <a class="el" href="netfulfilledman_8cpp_source.html#l00037">CNetFulfilledRequestManager::CheckAndRemove()</a>, <a class="el" href="instantx_8cpp_source.html#l00631">CInstantSend::CheckAndRemove()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00158">CMasternodeMan::CheckAndRemove()</a>, <a class="el" href="masternode_8cpp_source.html#l00743">CMasternodePing::CheckAndUpdate()</a>, <a class="el" href="validation_8cpp_source.html#l03119">CheckBlock()</a>, <a class="el" href="validation_8cpp_source.html#l04124">CheckBlockIndex()</a>, <a class="el" href="privatesend_8cpp_source.html#l00381">CPrivateSend::CheckDSTXes()</a>, <a class="el" href="net_8cpp_source.html#l00337">CConnman::CheckIncomingNonce()</a>, <a class="el" href="masternodeman_8cpp_source.html#l01521">CMasternodeMan::CheckMasternode()</a>, <a class="el" href="masternodeman_8cpp_source.html#l01370">CMasternodeMan::CheckMnbAndUpdateMasternodeList()</a>, <a class="el" href="masternode_8cpp_source.html#l00543">CMasternodeBroadcast::CheckOutpoint()</a>, <a class="el" href="masternodeman_8cpp_source.html#l01008">CMasternodeMan::CheckSameAddr()</a>, <a class="el" href="governance-object_8cpp_source.html#l00255">CGovernanceObject::CheckSignature()</a>, <a class="el" href="governance_8cpp_source.html#l01391">CGovernanceManager::CleanOrphanObjects()</a>, <a class="el" href="netfulfilledman_8cpp_source.html#l00061">CNetFulfilledRequestManager::Clear()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00341">CMasternodeMan::Clear()</a>, <a class="el" href="governance_8h_source.html#l00323">CGovernanceManager::Clear()</a>, <a class="el" href="txmempool_8cpp_source.html#l00745">CTxMemPool::clear()</a>, <a class="el" href="net_8cpp_source.html#l00472">CConnman::ClearBanned()</a>, <a class="el" href="txmempool_8cpp_source.html#l00968">CTxMemPool::ClearPrioritisation()</a>, <a class="el" href="db_8cpp_source.html#l00299">CDB::Close()</a>, <a class="el" href="db_8cpp_source.html#l00317">CDBEnv::CloseDb()</a>, <a class="el" href="masternode_8cpp_source.html#l00671">CMasternodePing::CMasternodePing()</a>, <a class="el" href="validation_8cpp_source.html#l01878">ComputeBlockVersion()</a>, <a class="el" href="governance_8cpp_source.html#l00678">CGovernanceManager::ConfirmInventoryRequest()</a>, <a class="el" href="addrman_8h_source.html#l00568">CAddrMan::Connected()</a>, <a class="el" href="net_8cpp_source.html#l00347">CConnman::ConnectNode()</a>, <a class="el" href="net_8cpp_source.html#l02896">CConnman::CopyNodeVector()</a>, <a class="el" href="hdchain_8cpp_source.html#l00203">CHDChain::CountAccounts()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00368">CMasternodeMan::CountEnabled()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00354">CMasternodeMan::CountMasternodes()</a>, <a class="el" href="miner_8cpp_source.html#l00077">CreateNewBlock()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00358">createrawtransaction()</a>, <a class="el" href="governance-classes_8cpp_source.html#l00394">CSuperblockManager::CreateSuperblock()</a>, <a class="el" href="instantx_8cpp_source.html#l00131">CInstantSend::CreateTxLockCandidate()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00460">decoderawtransaction()</a>, <a class="el" href="wallet_8cpp_source.html#l03703">CWallet::DelAddressBook()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00123">CMasternodeMan::DisallowMixing()</a>, <a class="el" href="validation_8cpp_source.html#l02591">DisconnectBlocks()</a>, <a class="el" href="net_8cpp_source.html#l02456">CConnman::DisconnectNode()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00399">CMasternodeMan::DsegUpdate()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00583">dumphdinfo()</a>, <a class="el" href="txmempool_8cpp_source.html#l01000">CTxMemPool::DynamicMemoryUsage()</a>, <a class="el" href="crypter_8cpp_source.html#l00373">CCryptoKeyStore::EncryptKeys()</a>, <a class="el" href="wallet_8cpp_source.html#l00723">CWallet::EncryptWallet()</a>, <a class="el" href="txmempool_8cpp_source.html#l00878">CTxMemPool::estimateFee()</a>, <a class="el" href="txmempool_8cpp_source.html#l00888">CTxMemPool::estimatePriority()</a>, <a class="el" href="txmempool_8cpp_source.html#l00883">CTxMemPool::estimateSmartFee()</a>, <a class="el" href="txmempool_8cpp_source.html#l00893">CTxMemPool::estimateSmartPriority()</a>, <a class="el" href="server_8cpp_source.html#l00541">CRPCTable::execute()</a>, <a class="el" href="txmempool_8h_source.html#l00563">CTxMemPool::exists()</a>, <a class="el" href="txmempool_8cpp_source.html#l01014">CTxMemPool::Expire()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00420">CMasternodeMan::Find()</a>, <a class="el" href="validation_8cpp_source.html#l03016">FindBlockPos()</a>, <a class="el" href="governance_8cpp_source.html#l00559">CGovernanceManager::FindGovernanceObject()</a>, <a class="el" href="net_8cpp_source.html#l00301">CConnman::FindNode()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00566">CMasternodeMan::FindRandomNotInVec()</a>, <a class="el" href="validation_8cpp_source.html#l03073">FindUndoPos()</a>, <a class="el" href="walletdb_8cpp_source.html#l00759">CWalletDB::FindWalletTx()</a>, <a class="el" href="db_8cpp_source.html#l00424">CDBEnv::Flush()</a>, <a class="el" href="validation_8cpp_source.html#l01843">FlushBlockFile()</a>, <a class="el" href="net_8h_source.html#l00239">CConnman::ForEachNode()</a>, <a class="el" href="net_8h_source.html#l00205">CConnman::ForEachNodeContinueIf()</a>, <a class="el" href="net_8h_source.html#l00271">CConnman::ForEachNodeThen()</a>, <a class="el" href="net_8cpp_source.html#l02866">CConnman::ForNode()</a>, <a class="el" href="mining_8cpp_source.html#l00122">generate()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00427">CMasternodeMan::Get()</a>, <a class="el" href="hdchain_8cpp_source.html#l00184">CHDChain::GetAccount()</a>, <a class="el" href="wallet_8cpp_source.html#l04087">CWallet::GetAccountAddresses()</a>, <a class="el" href="wallet_8cpp_source.html#l01641">CWalletTx::GetAccountAmounts()</a>, <a class="el" href="net_8cpp_source.html#l01764">CConnman::GetAddedNodeInfo()</a>, <a class="el" href="addrman_8h_source.html#l00555">CAddrMan::GetAddr()</a>, <a class="el" href="wallet_8cpp_source.html#l03954">CWallet::GetAddressBalances()</a>, <a class="el" href="txmempool_8cpp_source.html#l00470">CTxMemPool::getAddressIndex()</a>, <a class="el" href="alert_8cpp_source.html#l00182">CAlert::getAlertByHash()</a>, <a class="el" href="governance_8cpp_source.html#l00623">CGovernanceManager::GetAllNewerThan()</a>, <a class="el" href="masternodeman_8h_source.html#l00213">CMasternodeMan::GetAndClearDirtyGovernanceObjectHashes()</a>, <a class="el" href="instantx_8cpp_source.html#l00614">CInstantSend::GetAverageMasternodeOrphanVoteTime()</a>, <a class="el" href="util_8cpp_source.html#l00580">GetBackupsDir()</a>, <a class="el" href="net_8cpp_source.html#l00572">CConnman::GetBanned()</a>, <a class="el" href="blockchain_8cpp_source.html#l00148">getbestblockhash()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00509">CMasternodeBlockPayees::GetBestPayee()</a>, <a class="el" href="blockchain_8cpp_source.html#l00483">getblock()</a>, <a class="el" href="blockchain_8cpp_source.html#l00743">getblockchaininfo()</a>, <a class="el" href="blockchain_8cpp_source.html#l00131">getblockcount()</a>, <a class="el" href="blockchain_8cpp_source.html#l00311">getblockhash()</a>, <a class="el" href="validation_8cpp_source.html#l01911">GetBlockHash()</a>, <a class="el" href="blockchain_8cpp_source.html#l00336">getblockheader()</a>, <a class="el" href="blockchain_8cpp_source.html#l00394">getblockheaders()</a>, <a class="el" href="mining_8cpp_source.html#l00337">getblocktemplate()</a>, <a class="el" href="blockchain_8cpp_source.html#l00837">getchaintips()</a>, <a class="el" href="keystore_8cpp_source.html#l00057">CBasicKeyStore::GetCScript()</a>, <a class="el" href="governance_8cpp_source.html#l00583">CGovernanceManager::GetCurrentVotes()</a>, <a class="el" href="util_8cpp_source.html#l00547">GetDataDir()</a>, <a class="el" href="wallet_8cpp_source.html#l01225">CWallet::GetDebit()</a>, <a class="el" href="wallet_8cpp_source.html#l01464">CWallet::GetDecryptedHDChain()</a>, <a class="el" href="blockchain_8cpp_source.html#l00165">getdifficulty()</a>, <a class="el" href="privatesend_8cpp_source.html#l00374">CPrivateSend::GetDSTX()</a>, <a class="el" href="mining_8cpp_source.html#l00103">getgenerate()</a>, <a class="el" href="rpc_2governance_8cpp_source.html#l00897">getgovernanceinfo()</a>, <a class="el" href="clientmodel_8cpp_source.html#l00100">ClientModel::getHeaderTipHeight()</a>, <a class="el" href="clientmodel_8cpp_source.html#l00114">ClientModel::getHeaderTipTime()</a>, <a class="el" href="misc_8cpp_source.html#l00047">getinfo()</a>, <a class="el" href="keystore_8h_source.html#l00091">CBasicKeyStore::GetKey()</a>, <a class="el" href="crypter_8cpp_source.html#l00336">CCryptoKeyStore::GetKey()</a>, <a class="el" href="wallet_8cpp_source.html#l00216">CWallet::GetKey()</a>, <a class="el" href="wallet_8cpp_source.html#l03903">CWallet::GetKeyFromPool()</a>, <a class="el" href="keystore_8h_source.html#l00078">CBasicKeyStore::GetKeys()</a>, <a class="el" href="clientmodel_8cpp_source.html#l00140">ClientModel::getLastBlockDate()</a>, <a class="el" href="net_8cpp_source.html#l00106">GetLocal()</a>, <a class="el" href="instantx_8cpp_source.html#l00530">CInstantSend::GetLockedOutPointTxHash()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00693">CMasternodeMan::GetMasternodeByRank()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00440">CMasternodeMan::GetMasternodeInfo()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00632">CMasternodeMan::GetMasternodeRank()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00664">CMasternodeMan::GetMasternodeRanks()</a>, <a class="el" href="governance_8cpp_source.html#l00569">CGovernanceManager::GetMatchingVotes()</a>, <a class="el" href="net_8cpp_source.html#l02568">CConnman::GetMaxOutboundTarget()</a>, <a class="el" href="net_8cpp_source.html#l02574">CConnman::GetMaxOutboundTimeframe()</a>, <a class="el" href="net_8cpp_source.html#l02580">CConnman::GetMaxOutboundTimeLeftInCycle()</a>, <a class="el" href="txmempool_8cpp_source.html#l01076">CTxMemPool::GetMinFee()</a>, <a class="el" href="mining_8cpp_source.html#l00235">getmininginfo()</a>, <a class="el" href="netbase_8cpp_source.html#l00553">GetNameProxy()</a>, <a class="el" href="mining_8cpp_source.html#l00081">getnetworkhashps()</a>, <a class="el" href="rpc_2net_8cpp_source.html#l00392">getnetworkinfo()</a>, <a class="el" href="net_8cpp_source.html#l02429">CConnman::GetNodeCount()</a>, <a class="el" href="net__processing_8cpp_source.html#l00468">GetNodeStateStats()</a>, <a class="el" href="net_8cpp_source.html#l02443">CConnman::GetNodeStats()</a>, <a class="el" href="net_8cpp_source.html#l00167">GetnScore()</a>, <a class="el" href="clientmodel_8cpp_source.html#l00094">ClientModel::getNumBlocks()</a>, <a class="el" href="wallet_8cpp_source.html#l03933">CWallet::GetOldestKeyPoolTime()</a>, <a class="el" href="net_8cpp_source.html#l02626">CConnman::GetOutboundTargetBytesLeft()</a>, <a class="el" href="wallet_8cpp_source.html#l01321">CWallet::GetOutpointPrivateSendRounds()</a>, <a class="el" href="netbase_8cpp_source.html#l00536">GetProxy()</a>, <a class="el" href="keystore_8cpp_source.html#l00018">CBasicKeyStore::GetPubKey()</a>, <a class="el" href="crypter_8cpp_source.html#l00354">CCryptoKeyStore::GetPubKey()</a>, <a class="el" href="wallet_8cpp_source.html#l00202">CWallet::GetPubKey()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00144">getrawtransaction()</a>, <a class="el" href="net_8h_source.html#l00802">CNode::GetRefCount()</a>, <a class="el" href="wallet_8cpp_source.html#l01546">CWalletTx::GetRequestCount()</a>, <a class="el" href="governance-classes_8cpp_source.html#l00733">CSuperblockManager::GetRequiredPaymentsString()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00588">CMasternodeBlockPayees::GetRequiredPaymentsString()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00610">CMasternodePayments::GetRequiredPaymentsString()</a>, <a class="el" href="governance-object_8cpp_source.html#l00213">CGovernanceObject::GetSignatureMessage()</a>, <a class="el" href="validation_8cpp_source.html#l01475">GetSpendHeight()</a>, <a class="el" href="txmempool_8cpp_source.html#l00536">CTxMemPool::getSpentIndex()</a>, <a class="el" href="txdb_8cpp_source.html#l00101">CCoinsViewDB::GetStats()</a>, <a class="el" href="timedata_8cpp_source.html#l00027">GetTimeOffset()</a>, <a class="el" href="net_8cpp_source.html#l02635">CConnman::GetTotalBytesRecv()</a>, <a class="el" href="net_8cpp_source.html#l02641">CConnman::GetTotalBytesSent()</a>, <a class="el" href="txmempool_8h_source.html#l00557">CTxMemPool::GetTotalTxSize()</a>, <a class="el" href="validation_8cpp_source.html#l01080">GetTransaction()</a>, <a class="el" href="instantx_8cpp_source.html#l00795">CInstantSend::GetTransactionLockSignatures()</a>, <a class="el" href="txmempool_8cpp_source.html#l00360">CTxMemPool::GetTransactionsUpdated()</a>, <a class="el" href="instantx_8cpp_source.html#l00736">CInstantSend::GetTxLockRequest()</a>, <a class="el" href="instantx_8cpp_source.html#l00747">CInstantSend::GetTxLockVote()</a>, <a class="el" href="blockchain_8cpp_source.html#l00591">gettxout()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00235">gettxoutproof()</a>, <a class="el" href="validation_8cpp_source.html#l00446">GetUTXOCoins()</a>, <a class="el" href="validation_8cpp_source.html#l00461">GetUTXOConfirmations()</a>, <a class="el" href="clientmodel_8cpp_source.html#l00160">ClientModel::getVerificationProgress()</a>, <a class="el" href="wallet_8h_source.html#l00993">CWallet::GetVersion()</a>, <a class="el" href="governance_8cpp_source.html#l00077">CGovernanceManager::GetVoteCount()</a>, <a class="el" href="wallet_8cpp_source.html#l00094">CWallet::GetWalletTx()</a>, <a class="el" href="validation_8cpp_source.html#l04313">GetWarnings()</a>, <a class="el" href="rpc_2governance_8cpp_source.html#l00025">gobject()</a>, <a class="el" href="addrman_8h_source.html#l00518">CAddrMan::Good()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00476">CMasternodeMan::Has()</a>, <a class="el" href="netfulfilledman_8cpp_source.html#l00017">CNetFulfilledRequestManager::HasFulfilledRequest()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00529">CMasternodeBlockPayees::HasPayeeWithVotes()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00488">CMasternodePayments::HasVerifiedPaymentVote()</a>, <a class="el" href="keystore_8cpp_source.html#l00051">CBasicKeyStore::HaveCScript()</a>, <a class="el" href="keystore_8h_source.html#l00069">CBasicKeyStore::HaveKey()</a>, <a class="el" href="crypter_8h_source.html#l00191">CCryptoKeyStore::HaveKey()</a>, <a class="el" href="wallet_8cpp_source.html#l00244">CWallet::HaveKey()</a>, <a class="el" href="netbase_8cpp_source.html#l00561">HaveNameProxy()</a>, <a class="el" href="governance_8cpp_source.html#l00044">CGovernanceManager::HaveObjectForHash()</a>, <a class="el" href="governance_8cpp_source.html#l00062">CGovernanceManager::HaveVoteForHash()</a>, <a class="el" href="keystore_8cpp_source.html#l00105">CBasicKeyStore::HaveWatchOnly()</a>, <a class="el" href="validation_8cpp_source.html#l03956">InitBlockIndex()</a>, <a class="el" href="dsnotificationinterface_8cpp_source.html#l00014">CDSNotificationInterface::InitializeCurrentBlockTip()</a>, <a class="el" href="governance_8cpp_source.html#l01296">CGovernanceManager::InitOnLoad()</a>, <a class="el" href="wallet_8cpp_source.html#l02032">CWalletTx::InMempool()</a>, <a class="el" href="blockchain_8cpp_source.html#l00983">invalidateblock()</a>, <a class="el" href="wallet_8h_source.html#l00961">CWallet::Inventory()</a>, <a class="el" href="net_8cpp_source.html#l00484">CConnman::IsBanned()</a>, <a class="el" href="wallet_8cpp_source.html#l01363">CWallet::IsChange()</a>, <a class="el" href="privatesend_8cpp_source.html#l00174">CPrivateSend::IsCollateralValid()</a>, <a class="el" href="wallet_8cpp_source.html#l01328">CWallet::IsDenominated()</a>, <a class="el" href="validation_8cpp_source.html#l01297">IsInitialBlockDownload()</a>, <a class="el" href="instantx_8cpp_source.html#l00758">CInstantSend::IsInstantSendReadyToLock()</a>, <a class="el" href="net_8cpp_source.html#l00253">IsLimited()</a>, <a class="el" href="net_8cpp_source.html#l00278">IsLocal()</a>, <a class="el" href="crypter_8h_source.html#l00166">CCryptoKeyStore::IsLocked()</a>, <a class="el" href="instantx_8cpp_source.html#l00770">CInstantSend::IsLockedInstantSendTransaction()</a>, <a class="el" href="masternodeman_8cpp_source.html#l01532">CMasternodeMan::IsMasternodePingedWithin()</a>, <a class="el" href="wallet_8cpp_source.html#l01210">CWallet::IsMine()</a>, <a class="el" href="netbase_8cpp_source.html#l00566">IsProxy()</a>, <a class="el" href="net_8cpp_source.html#l00285">IsReachable()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00447">CMasternodePayments::IsScheduled()</a>, <a class="el" href="governance-classes_8cpp_source.html#l00281">CSuperblockManager::IsSuperblockTriggered()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00543">CMasternodeBlockPayees::IsTransactionValid()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00621">CMasternodePayments::IsTransactionValid()</a>, <a class="el" href="instantx_8cpp_source.html#l00816">CInstantSend::IsTxLockCandidateTimedOut()</a>, <a class="el" href="governance-classes_8cpp_source.html#l00451">CSuperblockManager::IsValid()</a>, <a class="el" href="instantx_8cpp_source.html#l00922">CTxLockRequest::IsValid()</a>, <a class="el" href="masternodeman_8cpp_source.html#l01495">CMasternodeMan::IsWatchdogActive()</a>, <a class="el" href="net_8cpp_source.html#l00619">CConnman::IsWhitelistedRange()</a>, <a class="el" href="addresstablemodel_8cpp_source.html#l00424">AddressTableModel::labelForAddress()</a>, <a class="el" href="validation_8cpp_source.html#l04008">LoadExternalBlockFile()</a>, <a class="el" href="walletmodel_8cpp_source.html#l00724">WalletModel::loadReceiveRequests()</a>, <a class="el" href="walletdb_8cpp_source.html#l00648">CWalletDB::LoadWallet()</a>, <a class="el" href="wallet_8cpp_source.html#l03616">CWallet::LoadWallet()</a>, <a class="el" href="crypter_8cpp_source.html#l00233">CCryptoKeyStore::Lock()</a>, <a class="el" href="instantx_8cpp_source.html#l00511">CInstantSend::LockTransactionInputs()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02000">LockWallet()</a>, <a class="el" href="txmempool_8cpp_source.html#l00869">CTxMemPool::lookup()</a>, <a class="el" href="activemasternode_8cpp_source.html#l00277">CActiveMasternode::ManageStateLocal()</a>, <a class="el" href="wallet_8cpp_source.html#l00868">CWallet::MarkDirty()</a>, <a class="el" href="rpc_2masternode_8cpp_source.html#l00096">masternode()</a>, <a class="el" href="rpc_2masternode_8cpp_source.html#l00607">masternodebroadcast()</a>, <a class="el" href="rpc_2masternode_8cpp_source.html#l00454">masternodelist()</a>, <a class="el" href="governance_8cpp_source.html#l00848">CGovernanceManager::MasternodeRateCheck()</a>, <a class="el" href="blockchain_8cpp_source.html#l00182">mempoolToJSON()</a>, <a class="el" href="wallet_8cpp_source.html#l03743">CWallet::NewKeyPool()</a>, <a class="el" href="zmqpublishnotifier_8cpp_source.html#l00176">CZMQPublishRawBlockNotifier::NotifyBlock()</a>, <a class="el" href="validation_8cpp_source.html#l02781">NotifyHeaderTip()</a>, <a class="el" href="masternodeman_8cpp_source.html#l01575">CMasternodeMan::NotifyMasternodeUpdates()</a>, <a class="el" href="masternodelist_8cpp_source.html#l00323">MasternodeList::on_startButton_clicked()</a>, <a class="el" href="net_8cpp_source.html#l02606">CConnman::OutboundTargetReached()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00743">CMasternodeMan::PopScheduledMnbRequestConnection()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00135">CMasternodeMan::PoSeBan()</a>, <a class="el" href="privatesend-client_8cpp_source.html#l01039">CPrivateSendClient::PrepareDenominate()</a>, <a class="el" href="init_8cpp_source.html#l00210">PrepareShutdown()</a>, <a class="el" href="mining_8cpp_source.html#l00279">prioritisetransaction()</a>, <a class="el" href="txmempool_8cpp_source.html#l00934">CTxMemPool::PrioritiseTransaction()</a>, <a class="el" href="rpc_2masternode_8cpp_source.html#l00025">privatesend()</a>, <a class="el" href="alert_8cpp_source.html#l00194">CAlert::ProcessAlert()</a>, <a class="el" href="miner_8cpp_source.html#l00380">ProcessBlockFound()</a>, <a class="el" href="net__processing_8cpp_source.html#l00785">ProcessGetData()</a>, <a class="el" href="privatesend-server_8cpp_source.html#l00018">CPrivateSendServer::ProcessMessage()</a>, <a class="el" href="instantx_8cpp_source.html#l00043">CInstantSend::ProcessMessage()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00771">CMasternodeMan::ProcessMessage()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00306">CMasternodePayments::ProcessMessage()</a>, <a class="el" href="net__processing_8cpp_source.html#l01074">ProcessMessage()</a>, <a class="el" href="net__processing_8cpp_source.html#l02184">ProcessMessages()</a>, <a class="el" href="validation_8cpp_source.html#l03484">ProcessNewBlock()</a>, <a class="el" href="validation_8cpp_source.html#l03385">ProcessNewBlockHeaders()</a>, <a class="el" href="net_8cpp_source.html#l01602">CConnman::ProcessOneShot()</a>, <a class="el" href="instantx_8cpp_source.html#l00408">CInstantSend::ProcessOrphanTxLockVotes()</a>, <a class="el" href="spork_8cpp_source.html#l00020">CSporkManager::ProcessSpork()</a>, <a class="el" href="masternodeman_8cpp_source.html#l01232">CMasternodeMan::ProcessVerifyBroadcast()</a>, <a class="el" href="masternodeman_8cpp_source.html#l01125">CMasternodeMan::ProcessVerifyReply()</a>, <a class="el" href="txmempool_8cpp_source.html#l00347">CTxMemPool::pruneSpent()</a>, <a class="el" href="net_8h_source.html#l00879">CNode::PushBlockHash()</a>, <a class="el" href="net_8h_source.html#l00885">CNode::PushBlockHashFromINV()</a>, <a class="el" href="net_8h_source.html#l00866">CNode::PushInventory()</a>, <a class="el" href="net_8cpp_source.html#l02834">CConnman::PushMessage()</a>, <a class="el" href="txmempool_8cpp_source.html#l00859">CTxMemPool::queryHashes()</a>, <a class="el" href="wallet_8cpp_source.html#l01728">CWallet::ReacceptWalletTransactions()</a>, <a class="el" href="txmempool_8cpp_source.html#l00916">CTxMemPool::ReadFeeEstimates()</a>, <a class="el" href="validation_8cpp_source.html#l02971">ReceivedBlockTransactions()</a>, <a class="el" href="blockchain_8cpp_source.html#l01021">reconsiderblock()</a>, <a class="el" href="net_8cpp_source.html#l02535">CConnman::RecordBytesRecv()</a>, <a class="el" href="net_8cpp_source.html#l02541">CConnman::RecordBytesSent()</a>, <a class="el" href="walletdb_8cpp_source.html#l01066">CWalletDB::Recover()</a>, <a class="el" href="addresstablemodel_8cpp_source.html#l00080">AddressTablePriv::refreshAddressTable()</a>, <a class="el" href="instantx_8cpp_source.html#l00724">CInstantSend::RejectLockRequest()</a>, <a class="el" href="instantx_8cpp_source.html#l00831">CInstantSend::Relay()</a>, <a class="el" href="net_8cpp_source.html#l02528">CConnman::RelayInv()</a>, <a class="el" href="net_8cpp_source.html#l02494">CConnman::RelayTransaction()</a>, <a class="el" href="net_8h_source.html#l00829">CNode::Release()</a>, <a class="el" href="net_8cpp_source.html#l02908">CConnman::ReleaseNodeVector()</a>, <a class="el" href="txmempool_8cpp_source.html#l00611">CTxMemPool::remove()</a>, <a class="el" href="net_8cpp_source.html#l02417">CConnman::RemoveAddedNode()</a>, <a class="el" href="txmempool_8cpp_source.html#l00484">CTxMemPool::removeAddressIndex()</a>, <a class="el" href="txmempool_8cpp_source.html#l00685">CTxMemPool::removeConflicts()</a>, <a class="el" href="db_8cpp_source.html#l00331">CDBEnv::RemoveDb()</a>, <a class="el" href="txmempool_8cpp_source.html#l00706">CTxMemPool::removeForBlock()</a>, <a class="el" href="txmempool_8cpp_source.html#l00649">CTxMemPool::removeForReorg()</a>, <a class="el" href="netfulfilledman_8cpp_source.html#l00027">CNetFulfilledRequestManager::RemoveFulfilledRequest()</a>, <a class="el" href="masternodeman_8cpp_source.html#l01513">CMasternodeMan::RemoveGovernanceObject()</a>, <a class="el" href="net_8cpp_source.html#l00236">RemoveLocal()</a>, <a class="el" href="addresstablemodel_8cpp_source.html#l00405">AddressTableModel::removeRows()</a>, <a class="el" href="txmempool_8cpp_source.html#l00549">CTxMemPool::removeSpentIndex()</a>, <a class="el" href="keystore_8cpp_source.html#l00095">CBasicKeyStore::RemoveWatchOnly()</a>, <a class="el" href="walletdb_8cpp_source.html#l00255">CWalletDB::ReorderTransactions()</a>, <a class="el" href="validation_8cpp_source.html#l02608">ReprocessBlocks()</a>, <a class="el" href="governance_8cpp_source.html#l01100">CGovernanceManager::RequestGovernanceObject()</a>, <a class="el" href="governance_8cpp_source.html#l01359">CGovernanceManager::RequestOrphanObjects()</a>, <a class="el" href="wallet_8cpp_source.html#l02081">CWallet::ResendWalletTransactionsBefore()</a>, <a class="el" href="wallet_8cpp_source.html#l03841">CWallet::ReserveKeyFromKeyPool()</a>, <a class="el" href="wallet_8h_source.html#l00972">CWallet::ResetRequestCount()</a>, <a class="el" href="instantx_8cpp_source.html#l00539">CInstantSend::ResolveConflicts()</a>, <a class="el" href="rest_8cpp_source.html#l00203">rest_block()</a>, <a class="el" href="rest_8cpp_source.html#l00129">rest_headers()</a>, <a class="el" href="wallet_8cpp_source.html#l03889">CWallet::ReturnKey()</a>, <a class="el" href="db_8cpp_source.html#l00340">CDB::Rewrite()</a>, <a class="el" href="server_8cpp_source.html#l00470">RPCIsInWarmup()</a>, <a class="el" href="db_8cpp_source.html#l00168">CDBEnv::Salvage()</a>, <a class="el" href="walletmodel_8cpp_source.html#l00733">WalletModel::saveReceiveRequest()</a>, <a class="el" href="net_8cpp_source.html#l00265">SeenLocal()</a>, <a class="el" href="addrman_8h_source.html#l00542">CAddrMan::Select()</a>, <a class="el" href="walletmodel_8cpp_source.html#l00353">WalletModel::sendCoins()</a>, <a class="el" href="net__processing_8cpp_source.html#l02296">SendMessages()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00830">sendrawtransaction()</a>, <a class="el" href="netfulfilledman_8h_source.html#l00034">CNetFulfilledRequestManager::SerializationOp()</a>, <a class="el" href="hdchain_8h_source.html#l00061">CHDChain::SerializationOp()</a>, <a class="el" href="masternodeman_8h_source.html#l00097">CMasternodeMan::SerializationOp()</a>, <a class="el" href="masternode_8h_source.html#l00177">CMasternode::SerializationOp()</a>, <a class="el" href="governance_8h_source.html#l00344">CGovernanceManager::SerializationOp()</a>, <a class="el" href="addrman_8h_source.html#l00285">CAddrMan::Serialize()</a>, <a class="el" href="governance_8cpp_source.html#l00049">CGovernanceManager::SerializeObjectForHash()</a>, <a class="el" href="governance_8cpp_source.html#l00083">CGovernanceManager::SerializeVoteForHash()</a>, <a class="el" href="hdchain_8cpp_source.html#l00193">CHDChain::SetAccount()</a>, <a class="el" href="wallet_8cpp_source.html#l03683">CWallet::SetAddressBook()</a>, <a class="el" href="net_8cpp_source.html#l00578">CConnman::SetBanned()</a>, <a class="el" href="net_8cpp_source.html#l00612">CConnman::SetBannedSetDirty()</a>, <a class="el" href="crypter_8cpp_source.html#l00222">CCryptoKeyStore::SetCrypted()</a>, <a class="el" href="wallet_8cpp_source.html#l01442">CWallet::SetCryptedHDChain()</a>, <a class="el" href="addresstablemodel_8cpp_source.html#l00240">AddressTableModel::setData()</a>, <a class="el" href="wallet_8cpp_source.html#l01429">CWallet::SetHDChain()</a>, <a class="el" href="net_8cpp_source.html#l00245">SetLimited()</a>, <a class="el" href="masternodeman_8cpp_source.html#l01539">CMasternodeMan::SetMasternodeLastPing()</a>, <a class="el" href="net_8cpp_source.html#l02558">CConnman::SetMaxOutboundTarget()</a>, <a class="el" href="net_8cpp_source.html#l02594">CConnman::SetMaxOutboundTimeframe()</a>, <a class="el" href="wallet_8cpp_source.html#l00554">CWallet::SetMaxVersion()</a>, <a class="el" href="wallet_8cpp_source.html#l00527">CWallet::SetMinVersion()</a>, <a class="el" href="misc_8cpp_source.html#l00498">setmocktime()</a>, <a class="el" href="netbase_8cpp_source.html#l00545">SetNameProxy()</a>, <a class="el" href="net_8cpp_source.html#l02113">CConnman::SetNetworkActive()</a>, <a class="el" href="hdchain_8cpp_source.html#l00012">CHDChain::SetNull()</a>, <a class="el" href="netbase_8cpp_source.html#l00527">SetProxy()</a>, <a class="el" href="server_8cpp_source.html#l00463">SetRPCWarmupFinished()</a>, <a class="el" href="server_8cpp_source.html#l00457">SetRPCWarmupStatus()</a>, <a class="el" href="addrman_8h_source.html#l00578">CAddrMan::SetServices()</a>, <a class="el" href="governance-object_8cpp_source.html#l00231">CGovernanceObject::Sign()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00588">signrawtransaction()</a>, <a class="el" href="txmempool_8h_source.html#l00551">CTxMemPool::size()</a>, <a class="el" href="mining_8cpp_source.html#l00755">submitblock()</a>, <a class="el" href="net_8cpp_source.html#l00585">CConnman::SweepBanned()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00887">CMasternodePayments::Sync()</a>, <a class="el" href="net_8cpp_source.html#l01522">CConnman::ThreadDNSAddressSeed()</a>, <a class="el" href="net_8cpp_source.html#l01842">CConnman::ThreadMnbRequestConnections()</a>, <a class="el" href="net_8cpp_source.html#l01816">CConnman::ThreadOpenAddedConnections()</a>, <a class="el" href="net_8cpp_source.html#l01620">CConnman::ThreadOpenConnections()</a>, <a class="el" href="net_8cpp_source.html#l01109">CConnman::ThreadSocketHandler()</a>, <a class="el" href="wallet_8cpp_source.html#l03779">CWallet::TopUpKeyPool()</a>, <a class="el" href="instantx_8cpp_source.html#l00912">CInstantSend::ToString()</a>, <a class="el" href="governance_8cpp_source.html#l01307">CGovernanceManager::ToString()</a>, <a class="el" href="txmempool_8cpp_source.html#l01116">CTxMemPool::TrimToSize()</a>, <a class="el" href="instantx_8cpp_source.html#l00458">CInstantSend::TryToFinalizeLockCandidate()</a>, <a class="el" href="net_8cpp_source.html#l00559">CConnman::Unban()</a>, <a class="el" href="validation_8cpp_source.html#l03922">UnloadBlockIndex()</a>, <a class="el" href="crypter_8cpp_source.html#l00248">CCryptoKeyStore::Unlock()</a>, <a class="el" href="wallet_8cpp_source.html#l00404">CWallet::Unlock()</a>, <a class="el" href="addrman_8h_source.html#l00335">CAddrMan::Unserialize()</a>, <a class="el" href="governance_8cpp_source.html#l00391">CGovernanceManager::UpdateCurrentWatchdog()</a>, <a class="el" href="wallet_8cpp_source.html#l04168">CWallet::UpdatedTransaction()</a>, <a class="el" href="masternodeman_8cpp_source.html#l01463">CMasternodeMan::UpdateLastPaid()</a>, <a class="el" href="masternode_8cpp_source.html#l00320">CMasternode::UpdateLastPaid()</a>, <a class="el" href="governance-object_8cpp_source.html#l00403">CGovernanceObject::UpdateLocalValidity()</a>, <a class="el" href="txmempool_8cpp_source.html#l01100">CTxMemPool::UpdateMinFee()</a>, <a class="el" href="txmempool_8cpp_source.html#l00137">CTxMemPool::UpdateTransactionsFromBlock()</a>, <a class="el" href="masternodeman_8cpp_source.html#l01484">CMasternodeMan::UpdateWatchdogVoteTime()</a>, <a class="el" href="masternode_8cpp_source.html#l00848">CMasternode::UpdateWatchdogVoteTime()</a>, <a class="el" href="misc_8cpp_source.html#l00270">validateaddress()</a>, <a class="el" href="db_8cpp_source.html#l00151">CDBEnv::Verify()</a>, <a class="el" href="blockchain_8cpp_source.html#l00671">verifychain()</a>, <a class="el" href="validation_8cpp_source.html#l03841">CVerifyDB::VerifyDB()</a>, <a class="el" href="misc_8cpp_source.html#l00444">verifymessage()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00321">verifytxoutproof()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02120">walletlock()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02007">walletpassphrase()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00060">WalletTxToJSON()</a>, <a class="el" href="txmempool_8cpp_source.html#l00900">CTxMemPool::WriteFeeEstimates()</a>, and <a class="el" href="wallet_8cpp_source.html#l03657">CWallet::ZapWalletTx()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a35644e2b75a93da0cb0f6c768f34efa8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a35644e2b75a93da0cb0f6c768f34efa8">◆ </a></span>LOCK2</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define LOCK2</td>
|
|
<td>(</td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">cs1, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">cs2 </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td>   <a class="el" href="sync_8h.html#a8a4a73fdc781f3f58f9729fce8b7d13c">CCriticalBlock</a> criticalblock1(cs1, #cs1, __FILE__, __LINE__), criticalblock2(cs2, #cs2, __FILE__, __LINE__)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="sync_8h_source.html#l00169">169</a> of file <a class="el" href="sync_8h_source.html">sync.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="walletmodel_8cpp_source.html#l00757">WalletModel::abandonTransaction()</a>, <a class="el" href="wallet_8cpp_source.html#l01066">CWallet::AbandonTransaction()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01902">abandontransaction()</a>, <a class="el" href="governance_8cpp_source.html#l00301">CGovernanceManager::AddGovernanceObject()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01151">addmultisigaddress()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00467">CMasternodePayments::AddPaymentVote()</a>, <a class="el" href="walletdb_8cpp_source.html#l00946">AutoBackupWallet()</a>, <a class="el" href="wallet_8cpp_source.html#l02360">CWallet::AvailableCoins()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01937">backupwallet()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00158">CMasternodeMan::CheckAndRemove()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00632">CMasternodePayments::CheckAndRemove()</a>, <a class="el" href="governance_8cpp_source.html#l00996">CGovernanceManager::CheckMasternodeOrphanObjects()</a>, <a class="el" href="governance_8cpp_source.html#l00985">CGovernanceManager::CheckMasternodeOrphanVotes()</a>, <a class="el" href="governance_8cpp_source.html#l01031">CGovernanceManager::CheckPostponedObjects()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00780">CMasternodePayments::CheckPreviousBlockVotes()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00238">CMasternodePayments::Clear()</a>, <a class="el" href="wallet_8cpp_source.html#l03527">CWallet::CommitTransaction()</a>, <a class="el" href="wallet_8cpp_source.html#l03044">CWallet::CountInputsWithAmount()</a>, <a class="el" href="privatesend-client_8cpp_source.html#l01258">CPrivateSendClient::CreateDenominated()</a>, <a class="el" href="wallet_8cpp_source.html#l03173">CWallet::CreateTransaction()</a>, <a class="el" href="transactiontablemodel_8cpp_source.html#l00212">TransactionTablePriv::describe()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00927">CMasternodeMan::DoFullVerificationStep()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00546">dumpprivkey()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00629">dumpwallet()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02159">encryptwallet()</a>, <a class="el" href="validation_8cpp_source.html#l03595">FindFilesToPrune()</a>, <a class="el" href="validation_8cpp_source.html#l02311">FlushStateToDisk()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00305">getaccount()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00192">getaccountaddress()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00337">getaddressesbyaccount()</a>, <a class="el" href="wallet_8cpp_source.html#l04151">CWallet::GetAllReserveKeys()</a>, <a class="el" href="wallet_8cpp_source.html#l02177">CWallet::GetAnonymizedBalance()</a>, <a class="el" href="wallet_8cpp_source.html#l02202">CWallet::GetAverageAnonymizedRounds()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00792">getbalance()</a>, <a class="el" href="wallet_8cpp_source.html#l02139">CWallet::GetBalance()</a>, <a class="el" href="wallet_8cpp_source.html#l02268">CWallet::GetDenominatedBalance()</a>, <a class="el" href="wallet_8cpp_source.html#l02301">CWallet::GetImmatureBalance()</a>, <a class="el" href="wallet_8cpp_source.html#l02346">CWallet::GetImmatureWatchOnlyBalance()</a>, <a class="el" href="misc_8cpp_source.html#l00047">getinfo()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00113">getnewaddress()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00490">CMasternodeMan::GetNextMasternodeInQueueForPayment()</a>, <a class="el" href="wallet_8cpp_source.html#l02224">CWallet::GetNormalizedAnonymizedBalance()</a>, <a class="el" href="walletmodel_8cpp_source.html#l00643">WalletModel::getOutputs()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00224">getrawchangeaddress()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00701">getreceivedbyaccount()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00641">getreceivedbyaddress()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01821">gettransaction()</a>, <a class="el" href="transactiontablemodel_8cpp_source.html#l00225">TransactionTablePriv::getTxHex()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00869">getunconfirmedbalance()</a>, <a class="el" href="wallet_8cpp_source.html#l02286">CWallet::GetUnconfirmedBalance()</a>, <a class="el" href="wallet_8cpp_source.html#l02331">CWallet::GetUnconfirmedWatchOnlyBalance()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02376">getwalletinfo()</a>, <a class="el" href="wallet_8cpp_source.html#l02315">CWallet::GetWatchOnlyBalance()</a>, <a class="el" href="rpc_2governance_8cpp_source.html#l00025">gobject()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00181">importaddress()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00412">importelectrumwallet()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00076">importprivkey()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00247">importpubkey()</a>, <a class="el" href="rpcdump_8cpp_source.html#l00305">importwallet()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00476">instantsendtoaddress()</a>, <a class="el" href="instantx_8cpp_source.html#l00440">CInstantSend::IsEnoughOrphanVotesForTxAndOutPoint()</a>, <a class="el" href="walletmodel_8cpp_source.html#l00700">WalletModel::isLockedCoin()</a>, <a class="el" href="walletmodel_8cpp_source.html#l00656">WalletModel::isSpent()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01963">keypoolrefill()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01645">listaccounts()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00534">listaddressgroupings()</a>, <a class="el" href="walletmodel_8cpp_source.html#l00663">WalletModel::listCoins()</a>, <a class="el" href="walletmodel_8cpp_source.html#l00718">WalletModel::listLockedCoins()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02300">listlockunspent()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01380">listreceivedbyaccount()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01339">listreceivedbyaddress()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01726">listsinceblock()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01518">listtransactions()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02533">listunspent()</a>, <a class="el" href="wallet_8cpp_source.html#l03616">CWallet::LoadWallet()</a>, <a class="el" href="walletmodel_8cpp_source.html#l00706">WalletModel::lockCoin()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02216">lockunspent()</a>, <a class="el" href="privatesend-client_8cpp_source.html#l01186">CPrivateSendClient::MakeCollateralAmounts()</a>, <a class="el" href="wallet_8cpp_source.html#l01127">CWallet::MarkConflicted()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00885">movecmd()</a>, <a class="el" href="walletmodel_8cpp_source.html#l00218">WalletModel::prepareTransaction()</a>, <a class="el" href="masternodeman_8cpp_source.html#l00771">CMasternodeMan::ProcessMessage()</a>, <a class="el" href="governance_8cpp_source.html#l00101">CGovernanceManager::ProcessMessage()</a>, <a class="el" href="net__processing_8cpp_source.html#l01074">ProcessMessage()</a>, <a class="el" href="instantx_8cpp_source.html#l00080">CInstantSend::ProcessTxLockRequest()</a>, <a class="el" href="wallet_8cpp_source.html#l01728">CWallet::ReacceptWalletTransactions()</a>, <a class="el" href="transactiontablemodel_8cpp_source.html#l00079">TransactionTablePriv::refreshWallet()</a>, <a class="el" href="governance_8cpp_source.html#l01143">CGovernanceManager::RequestGovernanceObjectVotes()</a>, <a class="el" href="masternode-payments_8cpp_source.html#l00913">CMasternodePayments::RequestLowDataPaymentBlocks()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02505">resendwallettransactions()</a>, <a class="el" href="instantx_8cpp_source.html#l00539">CInstantSend::ResolveConflicts()</a>, <a class="el" href="rest_8cpp_source.html#l00403">rest_getutxos()</a>, <a class="el" href="wallet_8cpp_source.html#l01687">CWallet::ScanForWalletTransactions()</a>, <a class="el" href="wallet_8cpp_source.html#l02831">CWallet::SelectCoinsGrouppedByAddresses()</a>, <a class="el" href="walletmodel_8cpp_source.html#l00353">WalletModel::sendCoins()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00958">sendfrom()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l01024">sendmany()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00409">sendtoaddress()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00259">setaccount()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02349">settxfee()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l00585">signmessage()</a>, <a class="el" href="rawtransaction_8cpp_source.html#l00588">signrawtransaction()</a>, <a class="el" href="governance_8cpp_source.html#l00733">CGovernanceManager::Sync()</a>, <a class="el" href="instantx_8cpp_source.html#l00846">CInstantSend::SyncTransaction()</a>, <a class="el" href="privatesend_8cpp_source.html#l00395">CPrivateSend::SyncTransaction()</a>, <a class="el" href="wallet_8cpp_source.html#l01189">CWallet::SyncTransaction()</a>, <a class="el" href="transactiondesc_8cpp_source.html#l00074">TransactionDesc::toHTML()</a>, <a class="el" href="walletmodel_8cpp_source.html#l00748">WalletModel::transactionCanBeAbandoned()</a>, <a class="el" href="walletmodel_8cpp_source.html#l00712">WalletModel::unlockCoin()</a>, <a class="el" href="governance_8cpp_source.html#l00425">CGovernanceManager::UpdateCachesAndClean()</a>, <a class="el" href="masternodeman_8cpp_source.html#l01348">CMasternodeMan::UpdateMasternodeList()</a>, <a class="el" href="transactiontablemodel_8cpp_source.html#l00098">TransactionTablePriv::updateWallet()</a>, <a class="el" href="misc_8cpp_source.html#l00270">validateaddress()</a>, <a class="el" href="instantx_8cpp_source.html#l00178">CInstantSend::Vote()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02120">walletlock()</a>, <a class="el" href="rpcwallet_8cpp_source.html#l02007">walletpassphrase()</a>, and <a class="el" href="rpcwallet_8cpp_source.html#l02074">walletpassphrasechange()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9ac9dd35b93432c0b194466d2aa84788"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9ac9dd35b93432c0b194466d2aa84788">◆ </a></span>PASTE</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define PASTE</td>
|
|
<td>(</td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">x, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">y </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td>   x ## y</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="sync_8h_source.html#l00165">165</a> of file <a class="el" href="sync_8h_source.html">sync.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad6f41535a782a4507947186ddcd56062"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad6f41535a782a4507947186ddcd56062">◆ </a></span>PASTE2</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define PASTE2</td>
|
|
<td>(</td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">x, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">y </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td>   <a class="el" href="sync_8h.html#a9ac9dd35b93432c0b194466d2aa84788">PASTE</a>(x, y)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="sync_8h_source.html#l00166">166</a> of file <a class="el" href="sync_8h_source.html">sync.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aca08e7299069c2d60b8aa726fc550612"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aca08e7299069c2d60b8aa726fc550612">◆ </a></span>TRY_LOCK</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define TRY_LOCK</td>
|
|
<td>(</td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname">cs, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"> </td>
|
|
<td class="paramname"><a class="el" href="rest_8cpp.html#a8f8f80d37794cde9472343e4487ba3eb">name</a> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td>   <a class="el" href="sync_8h.html#a8a4a73fdc781f3f58f9729fce8b7d13c">CCriticalBlock</a> <a class="el" href="rest_8cpp.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>(cs, #cs, __FILE__, __LINE__, true)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="sync_8h_source.html#l00170">170</a> of file <a class="el" href="sync_8h_source.html">sync.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="masternode_8cpp_source.html#l00139">CMasternode::Check()</a>, <a class="el" href="masternode_8cpp_source.html#l00543">CMasternodeBroadcast::CheckOutpoint()</a>, <a class="el" href="privatesend-server_8cpp_source.html#l00495">CPrivateSendServer::CheckTimeout()</a>, <a class="el" href="privatesend-client_8cpp_source.html#l00309">CPrivateSendClient::CheckTimeout()</a>, <a class="el" href="privatesend-server_8cpp_source.html#l00331">CPrivateSendServer::CommitFinalTransaction()</a>, <a class="el" href="privatesend-client_8cpp_source.html#l00695">CPrivateSendClient::DoAutomaticDenominating()</a>, <a class="el" href="transactiontablemodel_8cpp_source.html#l00180">TransactionTablePriv::index()</a>, <a class="el" href="walletmodel_8cpp_source.html#l00134">WalletModel::pollBalanceChanged()</a>, <a class="el" href="init_8cpp_source.html#l00210">PrepareShutdown()</a>, <a class="el" href="privatesend-server_8cpp_source.html#l00018">CPrivateSendServer::ProcessMessage()</a>, <a class="el" href="privatesend-client_8cpp_source.html#l00021">CPrivateSendClient::ProcessMessage()</a>, <a class="el" href="peertablemodel_8cpp_source.html#l00055">PeerTablePriv::refreshPeers()</a>, <a class="el" href="privatesend-client_8cpp_source.html#l00362">CPrivateSendClient::SendDenominate()</a>, <a class="el" href="net__processing_8cpp_source.html#l02296">SendMessages()</a>, <a class="el" href="walletdb_8cpp_source.html#l00842">ThreadFlushWalletDB()</a>, <a class="el" href="net_8cpp_source.html#l01919">CConnman::ThreadMessageHandler()</a>, <a class="el" href="net_8cpp_source.html#l01109">CConnman::ThreadSocketHandler()</a>, <a class="el" href="privatesend-client_8cpp_source.html#l00226">CPrivateSendClient::UnlockCoins()</a>, <a class="el" href="masternodelist_8cpp_source.html#l00219">MasternodeList::updateMyNodeList()</a>, and <a class="el" href="masternodelist_8cpp_source.html#l00250">MasternodeList::updateNodeList()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Typedef Documentation</h2>
|
|
<a id="acdd2020d08e99abd9504ea67d0190520"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acdd2020d08e99abd9504ea67d0190520">◆ </a></span>CConditionVariable</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef boost::condition_variable <a class="el" href="sync_8h.html#acdd2020d08e99abd9504ea67d0190520">CConditionVariable</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Just a typedef for boost::condition_variable, can be wrapped later if desired </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="sync_8h_source.html#l00084">84</a> of file <a class="el" href="sync_8h_source.html">sync.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8a4a73fdc781f3f58f9729fce8b7d13c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8a4a73fdc781f3f58f9729fce8b7d13c">◆ </a></span>CCriticalBlock</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef <a class="el" href="classCMutexLock.html">CMutexLock</a><<a class="el" href="sync_8h.html#a37a4692b2d517f2843655ca11af7668a">CCriticalSection</a>> <a class="el" href="sync_8h.html#a8a4a73fdc781f3f58f9729fce8b7d13c">CCriticalBlock</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="sync_8h_source.html#l00163">163</a> of file <a class="el" href="sync_8h_source.html">sync.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a37a4692b2d517f2843655ca11af7668a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a37a4692b2d517f2843655ca11af7668a">◆ </a></span>CCriticalSection</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef <a class="el" href="classAnnotatedMixin.html">AnnotatedMixin</a><boost::recursive_mutex> <a class="el" href="sync_8h.html#a37a4692b2d517f2843655ca11af7668a">CCriticalSection</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Wrapped boost mutex: supports recursive locking, but no waiting TODO: We should move away from using the recursive lock by default. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="sync_8h_source.html#l00078">78</a> of file <a class="el" href="sync_8h_source.html">sync.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a341e0aa38106c4dbcedbba878dceb1a5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a341e0aa38106c4dbcedbba878dceb1a5">◆ </a></span>CWaitableCriticalSection</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef <a class="el" href="classAnnotatedMixin.html">AnnotatedMixin</a><boost::mutex> <a class="el" href="sync_8h.html#a341e0aa38106c4dbcedbba878dceb1a5">CWaitableCriticalSection</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Wrapped boost mutex: supports waiting but not recursive locking </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="sync_8h_source.html#l00081">81</a> of file <a class="el" href="sync_8h_source.html">sync.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="a02dcb9057e60696179d85668ca6be50e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a02dcb9057e60696179d85668ca6be50e">◆ </a></span>AssertLockHeldInternal()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static void AssertLockHeldInternal </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>pszName</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>pszFile</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>nLine</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>cs</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="sync_8h_source.html#l00094">94</a> of file <a class="el" href="sync_8h_source.html">sync.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afc02589835b058cee9b180e89ee234c9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afc02589835b058cee9b180e89ee234c9">◆ </a></span>EnterCritical()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static void EnterCritical </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>pszName</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>pszFile</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>nLine</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>cs</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>fTry</em> = <code>false</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="sync_8h_source.html#l00092">92</a> of file <a class="el" href="sync_8h_source.html">sync.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="sync_8h_source.html#l00109">CMutexLock< Mutex >::Enter()</a>, and <a class="el" href="sync_8h_source.html#l00122">CMutexLock< Mutex >::TryEnter()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a222f17e7a4e1fb9bb5a36fe9aca460b8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a222f17e7a4e1fb9bb5a36fe9aca460b8">◆ </a></span>LeaveCritical()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static void LeaveCritical </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="sync_8h_source.html#l00093">93</a> of file <a class="el" href="sync_8h_source.html">sync.h</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="sync_8h_source.html#l00122">CMutexLock< Mutex >::TryEnter()</a>, and <a class="el" href="sync_8h_source.html#l00151">CMutexLock< Mutex >::~CMutexLock()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="sync_8h.html">sync.h</a></li>
|
|
<li class="footer">Generated on Thu Dec 14 2017 13:15:11 for Dash Core by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|