18 #ifndef LUNCHBOX_TIMEDLOCK_H 19 #define LUNCHBOX_TIMEDLOCK_H 23 #include <boost/noncopyable.hpp> 27 namespace detail {
class TimedLock; }
42 LUNCHBOX_API ~TimedLock();
55 LUNCHBOX_API
void unset();
63 LUNCHBOX_API
bool trySet();
71 LUNCHBOX_API
bool isSet();
74 detail::TimedLock*
const _impl;
77 #endif //LUNCHBOX_TIMEDLOCK_H Defines export visibility macros for library Lunchbox.
Basic type definitions not provided by the operating system.
A mutex with timeout capabilities.
#define LB_TIMEOUT_INDEFINITE
Constant defining 'wait forever' in methods with wait parameters.
Abstraction layer and common utilities for multi-threaded programming.