BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Classes | Namespaces | Macros
unique_lock.hpp File Reference
#include <assert.h>

Go to the source code of this file.

Classes

struct  fc::try_to_lock_t
 
class  fc::unique_lock< T >
 

Namespaces

 fc
 

Macros

#define synchronized(X)   fc::unique_lock<decltype((X))> __lock(((X)));
 

Macro Definition Documentation

#define synchronized (   X)    fc::unique_lock<decltype((X))> __lock(((X)));

Emulate java with the one quirk that the open bracket must come before the synchronized 'keyword'.

{ synchronized( lock_type )

}

Definition at line 41 of file unique_lock.hpp.