25 #ifndef COMMON_MUTEX_H 26 #define COMMON_MUTEX_H 30 #include <SDL_thread.h> 33 #include <boost/noncopyable.hpp> 40 class Mutex : boost::noncopyable {
101 #endif // COMMON_MUTEX_H
#define START_IGNORE_IMPLICIT_FALLTHROUGH
bool lock(uint32 timeout=0)
bool wait(uint32 timeout=0)
Low-level type definitions to handle fixed width types portably.
Convenience class that locks a mutex on creation and unlocks it on destruction.
#define STOP_IGNORE_IMPLICIT_FALLTHROUGH
Compiler-specific defines to mark an implicit switch-case fallthrough.