12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- #ifndef ANDROID_RS_MUTEX_H
- #define ANDROID_RS_MUTEX_H
- #include "rsUtils.h"
- namespace android {
- namespace renderscript {
- class Mutex {
- public:
- Mutex();
- ~Mutex();
- bool init();
- bool lock();
- bool unlock();
- protected:
- pthread_mutex_t mMutex;
- };
- }
- }
- #endif
|