KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
kjb::Pthread_locked_mutex Struct Reference

same as Pthread_mutex, but starts off in "locked" state. More...

#include <l_mt_mutexlock.h>

Inheritance diagram for kjb::Pthread_locked_mutex:
kjb::Pthread_mutex

Public Member Functions

 Pthread_locked_mutex ()
 
- Public Member Functions inherited from kjb::Pthread_mutex
 Pthread_mutex (void(Pthread_mutex::*pmf)()=0)
 dynamic mutex: unlock before you destroy it! More...
 
virtual ~Pthread_mutex ()
 dtor cleans up the mutex, which MUST be unlocked beforehand. More...
 
void lock ()
 lock this mutex More...
 
void unlock ()
 unlock this mutex More...
 
int try_lock ()
 try to lock; return WOULD_BLOCK if locked, else NO_ERROR. More...
 

Detailed Description

same as Pthread_mutex, but starts off in "locked" state.

Constructor & Destructor Documentation

kjb::Pthread_locked_mutex::Pthread_locked_mutex ( )
inline

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