HomeSort by relevance Sort by last modified time
    Searched refs:mutex (Results 201 - 225 of 1723) sorted by null

1 2 3 4 5 6 7 891011>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/
copy.fail.cpp 10 // <mutex>
16 #include <mutex>
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
assign.fail.cpp 10 // <mutex>
16 #include <mutex>
copy.fail.cpp 10 // <mutex>
16 #include <mutex>
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
assign.fail.cpp 10 // <mutex>
16 #include <mutex>
copy.fail.cpp 10 // <mutex>
16 #include <mutex>
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.once/thread.once.onceflag/
assign.fail.cpp 10 // <mutex>
16 #include <mutex>
copy.fail.cpp 10 // <mutex>
16 #include <mutex>
default.pass.cpp 10 // <mutex>
16 #include <mutex>
  /packages/apps/Nfc/nci/jni/
Mutex.h 18 * Encapsulate a mutex for thread synchronization.
25 class Mutex
30 ** Function: Mutex
37 Mutex ();
42 ** Function: ~Mutex
49 ~Mutex ();
56 ** Description: Block the thread and try lock the mutex.
68 ** Description: Unlock a mutex to unblock a thread.
80 ** Description: Try to lock the mutex.
82 ** Returns: True if the mutex is locked
    [all...]
  /external/icu/icu4c/source/common/
mutex.h 10 // File: mutex.h
12 // Lightweight C++ wrapper for umtx_ C mutex functions
31 // should instantiate a Mutex object while doing so. You should make your own
32 // private mutex where possible.
41 // Mutex mutex(&myMutex); // or no args for the global lock
43 // // When 'mutex' goes out of scope and gets destroyed here, the lock is released
46 // Note: Do NOT use the form 'Mutex mutex();' as that merely forward-declares a function
47 // returning a Mutex. This is a common mistake which silently slips through th
    [all...]
  /external/jemalloc/src/
mutex.c 67 JEMALLOC_EXPORT int _pthread_mutex_init_calloc_cb(pthread_mutex_t *mutex,
72 malloc_mutex_init(malloc_mutex_t *mutex)
76 if (!InitializeCriticalSectionAndSpinCount(&mutex->lock,
80 mutex->lock = 0;
83 mutex->postponed_next = postponed_mutexes;
84 postponed_mutexes = mutex;
86 if (_pthread_mutex_init_calloc_cb(&mutex->lock, base_calloc) !=
96 if (pthread_mutex_init(&mutex->lock, &attr) != 0) {
106 malloc_mutex_prefork(malloc_mutex_t *mutex)
109 malloc_mutex_lock(mutex);
    [all...]
  /external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
ptw32_mutex_check_need_init.c 5 * This translation unit implements mutual exclusion (mutex) primitives.
49 ptw32_mutex_check_need_init (pthread_mutex_t * mutex)
60 * and only initialise if the mutex is valid (not been destroyed).
61 * If a static mutex has been destroyed, the application can
65 mtx = *mutex;
69 result = pthread_mutex_init (mutex, NULL);
73 result = pthread_mutex_init (mutex, &ptw32_recursive_mutexattr);
77 result = pthread_mutex_init (mutex, &ptw32_errorcheck_mutexattr);
82 * The mutex has been destroyed while we were waiting to
  /external/chromium_org/third_party/libusb/src/libusb/os/
threads_windows.h 62 #define usbi_mutex_init_recursive(mutex, attr) usbi_mutex_init((mutex), (attr))
64 int usbi_mutex_static_lock(usbi_mutex_static_t *mutex);
65 int usbi_mutex_static_unlock(usbi_mutex_static_t *mutex);
68 int usbi_mutex_init(usbi_mutex_t *mutex,
70 int usbi_mutex_lock(usbi_mutex_t *mutex);
71 int usbi_mutex_unlock(usbi_mutex_t *mutex);
72 int usbi_mutex_trylock(usbi_mutex_t *mutex);
73 int usbi_mutex_destroy(usbi_mutex_t *mutex);
78 int usbi_cond_wait(usbi_cond_t *cond, usbi_mutex_t *mutex);
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/
os_thread.h 30 * Thread, mutex, condition variable, barrier, semaphore and
87 #define pipe_static_mutex(mutex) \
88 static pipe_mutex mutex = PTHREAD_MUTEX_INITIALIZER
90 #define pipe_mutex_init(mutex) \
91 (void) pthread_mutex_init(&(mutex), NULL)
93 #define pipe_mutex_destroy(mutex) \
94 pthread_mutex_destroy(&(mutex))
96 #define pipe_mutex_lock(mutex) \
97 (void) pthread_mutex_lock(&(mutex))
99 #define pipe_mutex_unlock(mutex) \
344 pipe_mutex mutex; member in struct:__anon17344
396 pipe_mutex mutex; member in struct:__anon17345
    [all...]
  /external/mesa3d/src/gallium/auxiliary/os/
os_thread.h 30 * Thread, mutex, condition variable, barrier, semaphore and
87 #define pipe_static_mutex(mutex) \
88 static pipe_mutex mutex = PTHREAD_MUTEX_INITIALIZER
90 #define pipe_mutex_init(mutex) \
91 (void) pthread_mutex_init(&(mutex), NULL)
93 #define pipe_mutex_destroy(mutex) \
94 pthread_mutex_destroy(&(mutex))
96 #define pipe_mutex_lock(mutex) \
97 (void) pthread_mutex_lock(&(mutex))
99 #define pipe_mutex_unlock(mutex) \
344 pipe_mutex mutex; member in struct:__anon30903
396 pipe_mutex mutex; member in struct:__anon30904
    [all...]
  /external/chromium_org/third_party/sqlite/src/src/
mutex.c 14 ** This file contains code that is common across all mutex implementations.
20 ** For debugging purposes, record when the mutex subsystem is initialized
22 ** allocate a mutex while the system is uninitialized.
30 ** Initialize the mutex system.
34 if( !sqlite3GlobalConfig.mutex.xMutexAlloc ){
36 ** install a mutex implementation via sqlite3_config() prior to
41 sqlite3_mutex_methods *pTo = &sqlite3GlobalConfig.mutex;
53 rc = sqlite3GlobalConfig.mutex.xMutexInit();
63 ** Shutdown the mutex system. This call frees resources allocated by
68 if( sqlite3GlobalConfig.mutex.xMutexEnd )
    [all...]
  /development/ndk/platforms/android-3/include/linux/
mutex.h 22 struct mutex { struct
35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
36 #define mutex_destroy(mutex) do { } while (0)
42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
  /prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/
mutex.h 22 struct mutex { struct
35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
36 #define mutex_destroy(mutex) do { } while (0)
42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
  /prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/
mutex.h 22 struct mutex { struct
35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
36 #define mutex_destroy(mutex) do { } while (0)
42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
  /prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/
mutex.h 22 struct mutex { struct
35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
36 #define mutex_destroy(mutex) do { } while (0)
42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
  /prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/
mutex.h 22 struct mutex { struct
35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
36 #define mutex_destroy(mutex) do { } while (0)
42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
  /prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/
mutex.h 22 struct mutex { struct
35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
36 #define mutex_destroy(mutex) do { } while (0)
42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
  /prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/
mutex.h 22 struct mutex { struct
35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
36 #define mutex_destroy(mutex) do { } while (0)
42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
  /prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/
mutex.h 22 struct mutex { struct
35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
36 #define mutex_destroy(mutex) do { } while (0)
42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)
  /prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/
mutex.h 22 struct mutex { struct
35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mutex, &__key); } while (0)
36 #define mutex_destroy(mutex) do { } while (0)
42 #define DEFINE_MUTEX(mutexname) struct mutex mutexname = __MUTEX_INITIALIZER(mutexname)

Completed in 286 milliseconds

1 2 3 4 5 6 7 891011>>