mirror of
https://github.com/jwinterm/myriadcoin.git
synced 2026-11-19 10:23:55 +01:00
Merge branch '0.4.x' into 0.5.0.x
This commit is contained in:
@@ -257,6 +257,12 @@ public:
|
||||
for (bool fcriticalblockonce=true; fcriticalblockonce; assert(("break caught by CRITICAL_BLOCK!" && !fcriticalblockonce)), fcriticalblockonce=false) \
|
||||
for (CCriticalBlock criticalblock(cs, #cs, __FILE__, __LINE__); fcriticalblockonce; fcriticalblockonce=false)
|
||||
|
||||
#define ENTER_CRITICAL_SECTION(cs) \
|
||||
(cs).Enter(#cs, __FILE__, __LINE__)
|
||||
|
||||
#define LEAVE_CRITICAL_SECTION(cs) \
|
||||
(cs).Leave()
|
||||
|
||||
class CTryCriticalBlock
|
||||
{
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user