Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
leveldb::TestState Class Reference
Collaboration diagram for leveldb::TestState:
Collaboration graph
[legend]

Public Types

enum  ReaderState { STARTING, RUNNING, DONE }
 

Public Member Functions

 TestState (int s)
 
void Wait (ReaderState s)
 
void Change (ReaderState s)
 

Public Attributes

ConcurrentTest t_
 
int seed_
 
port::AtomicPointer quit_flag_
 

Private Attributes

port::Mutex mu_
 
ReaderState state_
 
port::CondVar state_cv_
 

Detailed Description

Definition at line 297 of file skiplist_test.cc.

Member Enumeration Documentation

Enumerator
STARTING 
RUNNING 
DONE 

Definition at line 303 of file skiplist_test.cc.

Constructor & Destructor Documentation

leveldb::TestState::TestState ( int  s)
inlineexplicit

Definition at line 309 of file skiplist_test.cc.

Member Function Documentation

void leveldb::TestState::Change ( ReaderState  s)
inline

Definition at line 323 of file skiplist_test.cc.

void leveldb::TestState::Wait ( ReaderState  s)
inline

Definition at line 315 of file skiplist_test.cc.

Member Data Documentation

port::Mutex leveldb::TestState::mu_
private

Definition at line 331 of file skiplist_test.cc.

port::AtomicPointer leveldb::TestState::quit_flag_

Definition at line 301 of file skiplist_test.cc.

int leveldb::TestState::seed_

Definition at line 300 of file skiplist_test.cc.

ReaderState leveldb::TestState::state_
private

Definition at line 332 of file skiplist_test.cc.

port::CondVar leveldb::TestState::state_cv_
private

Definition at line 333 of file skiplist_test.cc.

ConcurrentTest leveldb::TestState::t_

Definition at line 299 of file skiplist_test.cc.


The documentation for this class was generated from the following file: