21 #include "base/logging.h"
29 #ifndef PAGESPEED_KERNEL_THREAD_WORKER_TEST_BASE_H_
30 #define PAGESPEED_KERNEL_THREAD_WORKER_TEST_BASE_H_
32 namespace net_instaweb {
40 class FailureFunction;
55 explicit CountFunction(
int* variable) : variable_(variable) {}
117 LOG(FATAL) <<
"DeleteNotifyFunction ran.";
virtual void Run()
Definition: worker_test_base.h:57
Waits on a given SyncPoint before completing Run()
Definition: worker_test_base.h:97
Definition: worker_test_base.h:34
A closure that increments a variable on running.
Definition: worker_test_base.h:53
virtual void Run()
Definition: worker_test_base.h:116
A way for one thread to wait for another.
Definition: worker_test_base.h:71
Definition: scoped_ptr.h:30
Definition: function.h:47
Notifies of itself having run on a given SyncPoint.
Definition: worker_test_base.h:86
virtual void Cancel()
Definition: worker_test_base.h:61
Definition: thread_system.h:40
Function that signals on destruction and check fails when run.
Definition: worker_test_base.h:108