Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros
abstract_mutex.h File Reference
#include "pagespeed/kernel/base/basictypes.h"
#include "pagespeed/kernel/base/thread_annotations.h"

Go to the source code of this file.

Classes

class  net_instaweb::AbstractMutex
 Abstract interface for implementing a mutex. More...
 
class  net_instaweb::ScopedMutex
 Helper class for lexically scoped mutexing. More...
 

Namespaces

 net_instaweb
 Unit-test framework for wget fetcher.
 

Macros

#define ScopedMutex(x)   COMPILE_ASSERT(0, mutex_lock_decl_missing_var_name)
 

Macro Definition Documentation

#define ScopedMutex (   x)    COMPILE_ASSERT(0, mutex_lock_decl_missing_var_name)

Catch bug where variable name is omitted with ScopedMutex, e.g. ScopedMutex(&mu);