Lines Matching refs:Mutex
70 class Mutex; variable
76 class Mutex
79 Mutex();
80 ~Mutex();
89 inline Autolock(Mutex* mutex, RK_U32 enable = 1) :
101 Mutex& mLock;
109 Mutex(const Mutex &);
110 Mutex &operator = (const Mutex&);
113 inline Mutex::Mutex() in Mutex() function
121 inline Mutex::~Mutex() in ~Mutex()
125 inline void Mutex::lock() in lock()
129 inline void Mutex::unlock() in unlock()
133 inline int Mutex::trylock() in trylock()
138 typedef Mutex::Autolock AutoMutex;
150 RK_S32 wait(Mutex& mutex);
151 RK_S32 wait(Mutex* mutex);
152 RK_S32 timedwait(Mutex& mutex, RK_S64 timeout);
153 RK_S32 timedwait(Mutex* mutex, RK_S64 timeout);
169 inline RK_S32 Condition::wait(Mutex& mutex) in wait()
173 inline RK_S32 Condition::wait(Mutex* mutex) in wait()
177 inline RK_S32 Condition::timedwait(Mutex& mutex, RK_S64 timeout) in timedwait()
181 inline RK_S32 Condition::timedwait(Mutex* mutex, RK_S64 timeout) in timedwait()
217 Mutex *mutex() { return &mLock; } in mutex()
220 Mutex mLock;
276 Mutex *mutex(MppThreadSignal id = THREAD_WORK) {