Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros
thread_system.h File Reference
#include "pagespeed/kernel/base/abstract_mutex.h"
#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::ThreadSystem
 
class  net_instaweb::ThreadSystem::CondvarCapableMutex
 
class  net_instaweb::ThreadSystem::RWLock
 
class  net_instaweb::ThreadSystem::ScopedReader
 
class  net_instaweb::ThreadSystem::ThreadId
 
class  net_instaweb::ThreadSystem::ThreadImpl
 

Namespaces

 net_instaweb
 Unit-test framework for wget fetcher.
 

Macros

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

Detailed Description

This contains classes that abstract away creation of threads and synchronization primitives.

Macro Definition Documentation

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

Catch bug where variable name is omitted with ScopedReader, e.g. ThreadSystem::ScopedReader(&lock);