Page Speed Optimization Libraries
1.5.27.2
|
Go to the source code of this file.
Classes | |
class | net_instaweb::NullThreadSystem |
Namespaces | |
namespace | net_instaweb |
for StringPiece |
Zero-dependency mock thread-system for use in tests that don't actually use threads, to help test classes that need some mutexing or other thread-safety hooks.
Note that this thread-system does not currenlty make threads (even co-routines), but check-fails if you attempt to spawn a new thread.
Also, currently, there are no fake condvars, and the methods that create condvars will check-fail.