18 #ifndef LUNCHBOX_LOCK_H
19 #define LUNCHBOX_LOCK_H
22 #include <lunchbox/nonCopyable.h>
26 namespace detail {
class Lock; }
42 LUNCHBOX_API
void set();
45 LUNCHBOX_API
void unset();
62 LUNCHBOX_API
bool trySet();
71 LUNCHBOX_API
bool isSet();
74 detail::Lock*
const _impl;
77 #endif //LUNCHBOX_LOCK_H