18 #ifndef _DECAF_CONCURRENT_MUTEX_H_ 19 #define _DECAF_CONCURRENT_MUTEX_H_ 28 namespace concurrent {
30 class MutexProperties;
42 MutexProperties* properties;
53 Mutex(
const std::string& name);
57 std::string getName()
const;
59 std::string toString()
const;
61 bool isLocked()
const;
67 virtual bool tryLock();
69 virtual void unlock();
73 virtual void wait(
long long millisecs);
75 virtual void wait(
long long millisecs,
int nanos);
77 virtual void notify();
79 virtual void notifyAll();
Mutex object that offers recursive support on all platforms as well as providing the ability to use t...
Definition: Mutex.h:39
#define DECAF_API
Definition: Config.h:29
The interface for all synchronizable objects (that is, objects that can be locked and unlocked)...
Definition: Synchronizable.h:37
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: AprPool.h:25