Searched refs:mutex (Results 201 - 225 of 587) sorted by relevance

1234567891011>>

/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dpthread_mutex_timedlock.c5 * This translation unit implements mutual exclusion (mutex) primitives.
109 pthread_mutex_timedlock (pthread_mutex_t * mutex, argument
122 * to initialise a static mutex. We check
126 if (*mutex >= PTHREAD_ERRORCHECK_MUTEX_INITIALIZER)
128 if ((result = ptw32_mutex_check_need_init (mutex)) != 0)
134 mx = *mutex;
204 * The mutex is added to a per thread list when ownership is acquired.
226 while (0 == (result = ptw32_robust_mutex_inherit(mutex))
250 * Add mutex to the per-thread robust mutex currentl
[all...]
H A Dpthread_spin_lock.c76 return pthread_mutex_lock (&(s->u.mutex));
H A Dpthread_spin_trylock.c73 return pthread_mutex_trylock (&(s->u.mutex));
/external/valgrind/main/drd/
H A Ddrd_cond.c70 p->mutex = 0;
80 if (p->mutex)
83 q = &(DRD_(clientobj_get)(p->mutex, ClientMutex)->mutex);
207 void DRD_(cond_pre_wait)(const Addr cond, const Addr mutex) argument
230 p->mutex = mutex;
232 else if (p->mutex != mutex)
236 .cond = cond, .mutex1 = p->mutex,
[all...]
/external/srec/portable/include/
H A Dptrd.h111 * library is shutdown, or cannot lock on mutex; ESR_INVALID_ARGUMENT if monitor is null
122 * @return ESR_SUCCESS if success; ESR_INVALID_ARGUMENT if monitor is null; ESR_FATAL_ERROR if waiting on the mutex failed
243 * Creates a thread mutex. Thread mutexes are similar to thread monitors
247 * so-called recursive locking, meaning that a thread owning the mutex can
251 * @param mutex Handle to the created mutex
256 PORTABLE_API ESR_ReturnCode PtrdMutexCreate(PtrdMutex **mutex);
259 * Destroys a mutex.
261 * @param mutex Handle to the mutex t
[all...]
/external/valgrind/main/drd/tests/
H A Dtrylock.stderr.exp16 Locking mutex via pthread_mutex_trylock().
17 Locking mutex via pthread_mutex_lock().
18 Locking mutex via pthread_mutex_timedlock().
H A Dpth_cancel_locked.stderr.exp2 Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
5 mutex 0x........ was first observed at:
H A Dtc10_rec_lock.stderr.exp9 Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
13 mutex 0x........ was first observed at:
/external/chromium_org/mojo/public/cpp/utility/
H A Dmutex.h56 explicit MutexLock(Mutex* mutex) : mutex_(mutex) { mutex_->Lock(); } argument
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DHashTable.cpp38 AtomicallyInitializedStatic(Mutex&, mutex = *new Mutex);
39 return mutex;
/external/chromium_org/third_party/icu/source/common/unicode/
H A Duclean.h66 * u_cleanup() also clears any ICU heap functions, mutex functions or
164 * An opaque pointer type that represents an ICU mutex.
166 * struct or object that implements the mutex.
173 * Function Pointer type for a user supplied mutex initialization function.
175 * new mutex. The function implementation should create a mutex, and store a pointer
176 * to something that uniquely identifies the mutex into the UMTX that is supplied
179 * @param mutex Receives a pointer that identifies the new mutex.
180 * The mutex ini
[all...]
/external/chromium_org/third_party/libusb/src/libusb/os/
H A Dpoll_windows.c74 CRITICAL_SECTION mutex; // lock for fds member in struct:__anon12855
166 InitializeCriticalSection(&_poll_fd[i].mutex);
173 // Internal function to retrieve the table index (and lock the fd mutex)
183 EnterCriticalSection(&_poll_fd[i].mutex);
186 LeaveCriticalSection(&_poll_fd[i].mutex);
236 // mutex lock before too long
237 EnterCriticalSection(&_poll_fd[i].mutex);
246 LeaveCriticalSection(&_poll_fd[i].mutex);
247 DeleteCriticalSection(&_poll_fd[i].mutex);
277 EnterCriticalSection(&_poll_fd[i].mutex);
[all...]
H A Dthreads_posix.c33 int usbi_mutex_init_recursive(pthread_mutex_t *mutex, pthread_mutexattr_t *attr) argument
49 err = pthread_mutex_init(mutex, attr);
/external/chromium_org/third_party/sqlite/src/src/
H A Dmutex_w32.c23 ** Each recursive mutex is an instance of the following structure.
26 CRITICAL_SECTION mutex; /* Mutex controlling the lock */ member in struct:sqlite3_mutex
30 volatile DWORD owner; /* Thread holding this mutex */
94 ** Initialize and deinitialize the mutex subsystem.
117 InitializeCriticalSection(&winMutex_staticMutexes[i].mutex);
136 DeleteCriticalSection(&winMutex_staticMutexes[i].mutex);
146 ** mutex and returns a pointer to it. If it returns NULL
147 ** that means that a mutex could not be allocated. SQLite
163 ** a new mutex. The new mutex i
[all...]
H A Dvdbeapi.c75 sqlite3_mutex *mutex; local
79 mutex = v->db->mutex;
81 sqlite3_mutex_enter(mutex);
84 sqlite3_mutex_leave(mutex);
103 sqlite3_mutex_enter(v->db->mutex);
108 sqlite3_mutex_leave(v->db->mutex);
121 sqlite3_mutex *mutex = ((Vdbe*)pStmt)->db->mutex; local
123 sqlite3_mutex_enter(mutex);
[all...]
/external/icu/icu4c/source/common/unicode/
H A Duclean.h66 * u_cleanup() also clears any ICU heap functions, mutex functions or
164 * An opaque pointer type that represents an ICU mutex.
166 * struct or object that implements the mutex.
173 * Function Pointer type for a user supplied mutex initialization function.
175 * new mutex. The function implementation should create a mutex, and store a pointer
176 * to something that uniquely identifies the mutex into the UMTX that is supplied
179 * @param mutex Receives a pointer that identifies the new mutex.
180 * The mutex ini
[all...]
/external/libcxx/test/thread/thread.condition/thread.condition.condvarany/
H A Ddestructor.pass.cpp17 #include <mutex>
22 std::mutex m;
/external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/
H A Dlock.pass.cpp10 // <mutex>
12 // class mutex;
16 #include <mutex>
23 std::mutex m;
H A Dtry_lock.pass.cpp10 // <mutex>
12 // class mutex;
16 #include <mutex>
21 std::mutex m;
/external/qemu/distrib/sdl-1.2.15/src/video/aalib/
H A DSDL_aavideo.h46 SDL_mutex *mutex; member in struct:SDL_PrivateVideoData
61 #define AA_mutex (this->hidden->mutex)
/external/qemu/distrib/sdl-1.2.15/src/video/caca/
H A DSDL_cacavideo.h51 SDL_mutex *mutex; member in struct:SDL_PrivateVideoData
73 #define Caca_mutex (this->hidden->mutex)
/external/chromium_org/native_client_sdk/src/libraries/sdk_util/
H A Dauto_lock.h22 lock_ = lock.mutex();
/external/qemu/distrib/sdl-1.2.15/src/thread/pthread/
H A DSDL_syscond.c98 int SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms) argument
119 retval = pthread_cond_timedwait(&cond->cond, &mutex->id, &abstime);
137 /* Wait on the condition variable, unlocking the provided mutex.
138 The mutex must be locked before entering this function!
140 int SDL_CondWait(SDL_cond *cond, SDL_mutex *mutex) argument
150 if ( pthread_cond_wait(&cond->cond, &mutex->id) != 0 ) {
/external/qemu/distrib/sdl-1.2.15/src/thread/riscos/
H A DSDL_syscond.c102 int SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms) argument
123 retval = pthread_cond_timedwait(&cond->cond, &mutex->id, &abstime);
141 /* Wait on the condition variable, unlocking the provided mutex.
142 The mutex must be locked before entering this function!
144 int SDL_CondWait(SDL_cond *cond, SDL_mutex *mutex) argument
154 if ( pthread_cond_wait(&cond->cond, &mutex->id) != 0 ) {
/external/valgrind/main/helgrind/
H A Dhg_intercepts.c421 pthread_mutex_t *mutex,
429 fprintf(stderr, "<< pthread_mxinit %p", mutex); fflush(stderr);
440 CALL_FN_W_WW(ret, fn, mutex,attr);
444 pthread_mutex_t*,mutex, long,mbRec);
460 pthread_mutex_t *mutex)
468 fprintf(stderr, "<< pthread_mxdestroy %p", mutex); fflush(stderr);
471 if (mutex != NULL) {
473 mutex_is_init = my_memcmp(mutex, &mutex_init, sizeof(*mutex)) == 0;
479 pthread_mutex_t*, mutex, unsigne
420 PTH_FUNC(int, pthreadZumutexZuinit, pthread_mutex_t *mutex, pthread_mutexattr_t* attr) argument
459 PTH_FUNC(int, pthreadZumutexZudestroy, pthread_mutex_t *mutex) argument
497 PTH_FUNC(int, pthreadZumutexZulock, pthread_mutex_t *mutex) argument
541 PTH_FUNC(int, pthreadZumutexZutrylock, pthread_mutex_t *mutex) argument
581 PTH_FUNC(int, pthreadZumutexZutimedlock, pthread_mutex_t *mutex, void* timeout) argument
621 PTH_FUNC(int, pthreadZumutexZuunlock, pthread_mutex_t *mutex) argument
669 pthread_cond_wait_WRK(pthread_cond_t* cond, pthread_mutex_t* mutex) argument
726 PTH_FUNC(int, pthreadZucondZuwaitZAZa, pthread_cond_t* cond, pthread_mutex_t* mutex) argument
731 PTH_FUNC(int, pthreadZucondZuwaitZa, pthread_cond_t* cond, pthread_mutex_t* mutex) argument
750 pthread_cond_timedwait_WRK(pthread_cond_t* cond, pthread_mutex_t* mutex, struct timespec* abstime) argument
816 PTH_FUNC(int, pthreadZucondZutimedwaitZAZa, pthread_cond_t* cond, pthread_mutex_t* mutex, struct timespec* abstime) argument
822 PTH_FUNC(int, pthreadZucondZutimedwait, pthread_cond_t* cond, pthread_mutex_t* mutex, struct timespec* abstime) argument
827 PTH_FUNC(int, pthreadZucondZutimedwaitZDZa, pthread_cond_t* cond, pthread_mutex_t* mutex, struct timespec* abstime) argument
832 PTH_FUNC(int, pthreadZucondZutimedwaitZuZa, pthread_cond_t* cond, pthread_mutex_t* mutex, struct timespec* abstime) argument
2271 QMutex_constructor_WRK(void* mutex, long recmode) argument
2293 QMutex_destructor_WRK(void* mutex) argument
2313 QT4_FUNC(void*, _ZN6QMutexC2ENS_13RecursionModeE, void* mutex, long recmode) argument
2333 QT4_FUNC(void*, _ZN6QMutexD2Ev, void* mutex) argument
[all...]

Completed in 1268 milliseconds

1234567891011>>