/usr/include/urg/ConditionVariable.h is in liburg0-dev 0.8.18-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | #ifndef QRK_CONDITION_VARIABLE_H
#define QRK_CONDITION_VARIABLE_H
/*!
\file
\brief �����ϐ�
\author Satofumi KAMIMURA
$Id: ConditionVariable.h 783 2009-05-05 08:56:26Z satofumi $
*/
#include <memory>
namespace qrk
{
class Lock;
/*!
\brief �����ϐ�
*/
class ConditionVariable
{
ConditionVariable(const ConditionVariable& rhs);
ConditionVariable& operator = (const ConditionVariable& rhs);
struct pImpl;
const std::auto_ptr<pImpl> pimpl;
public:
enum {
NoTimeout = -1,
};
ConditionVariable(void);
~ConditionVariable(void);
bool isWaiting(void);
void wakeup(void);
void wakeupAll(void);
bool wait(Lock* lock, int timeout = NoTimeout);
};
}
#endif /* !QRK_CONDITION_VARIABLE_H */
|