tcpflow
1.6.1
About: tcpflow is a TCP/IP packet demultiplexer that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis and debugging.
![]() ![]() |
#include <cppmutex.h>
Classes | |
class | lock |
Public Member Functions | |
cppmutex () | |
virtual | ~cppmutex () |
Public Attributes | |
pthread_mutex_t | M |
Private Member Functions | |
cppmutex (const cppmutex &c) | |
cppmutex & | operator= (const cppmutex &cp) |
Cppmutex is an easy-to-use mutex class. Create a cppmutex instance for a mutex. Create a cppmutex::lock(M) object to get a lock; delete the object to free it.
BE SURE THAT HAVE_PTHREAD IS DEFINED BEFORE INCLUDING THIS FILE
Definition at line 23 of file cppmutex.h.
|
private |
|
inline |
Definition at line 31 of file cppmutex.h.
References M.
|
inlinevirtual |
Definition at line 37 of file cppmutex.h.
References M.
pthread_mutex_t cppmutex::M |
Definition at line 29 of file cppmutex.h.
Referenced by cppmutex(), cppmutex::lock::lock(), ~cppmutex(), and cppmutex::lock::~lock().