18#ifndef _DECAF_UTIL_CONCURRENT_LOCK_H_
19#define _DECAF_UTIL_CONCURRENT_LOCK_H_
50 Lock(
const Lock& src );
51 Lock& operator= (
const Lock& src );
bool isLocked() const
Indicates whether or not the object is locked.
Definition Lock.h:86
void unlock()
Unlocks the object if it is already locked, otherwise a call to this method has no effect.
void lock()
Locks the object.
virtual ~Lock()
Destructor - Unlocks the object if it is locked.
Lock(Synchronizable *object, const bool intiallyLocked=true)
Constructor - initializes the object member and locks the object if desired.
The interface for all synchronizable objects (that is, objects that can be locked and unlocked).
Definition Synchronizable.h:37
#define DECAF_API
Definition Config.h:29
Definition AbstractExecutorService.h:28
Definition AbstractCollection.h:33
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25