Go to the documentation of this file.
   18 #ifndef LIBCWD_PRIVATE_MUTEX_H 
   19 #define LIBCWD_PRIVATE_MUTEX_H 
   21 #ifndef LIBCW_PTHREAD_H 
   22 #define LIBCW_PTHREAD_H 
   34   pthread_mutex_t M_mutex;
 
   36 #if CWDEBUG_DEBUG || CWDEBUG_DEBUGT 
   37   int M_instance_locked;
 
   40   pthread_t M_locked_by;
 
   41   void const* M_locked_from;
 
   45   void M_initialize(
void);
 
   47   void initialize(
void);
 
   53   bool trylock(TSD_st&);
 
   57 #if CWDEBUG_DEBUG || CWDEBUG_DEBUGT 
   65 #endif // LIBCWD_PRIVATE_MUTEX_H 
  
Copyright © 2001 - 2004 Carlo Wood.  All rights reserved.