19 #ifndef PAGESPEED_KERNEL_BASE_NULL_RW_LOCK_H_
20 #define PAGESPEED_KERNEL_BASE_NULL_RW_LOCK_H_
22 #include "pagespeed/kernel/base/thread_annotations.h"
25 namespace net_instaweb {
33 virtual bool TryLock() EXCLUSIVE_TRYLOCK_FUNCTION(
true);
34 virtual void Lock() EXCLUSIVE_LOCK_FUNCTION();
35 virtual void Unlock() UNLOCK_FUNCTION();
36 virtual bool ReaderTryLock() SHARED_TRYLOCK_FUNCTION(
true);
37 virtual void ReaderLock() SHARED_LOCK_FUNCTION();
38 virtual void ReaderUnlock() UNLOCK_FUNCTION();
39 virtual void DCheckReaderLocked();
Definition: thread_system.h:61
Definition: null_rw_lock.h:29