HomeSort by relevance Sort by last modified time
    Searched full:mutex (Results 51 - 75 of 750) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/bluetooth/glib/gthread/
gthread-impl.c 79 #define G_MUTEX_DEBUG_INFO(mutex) \
80 (((GMutexDebugInfo*)(((char*)mutex)+G_MUTEX_SIZE)))
97 g_mutex_lock_errorcheck_impl (GMutex *mutex,
101 GMutexDebugInfo *info = G_MUTEX_DEBUG_INFO (mutex);
108 g_error ("Trying to recursivly lock a mutex at '%s', "
112 g_thread_functions_for_glib_use_default.mutex_lock (mutex);
119 g_mutex_trylock_errorcheck_impl (GMutex *mutex,
123 GMutexDebugInfo *info = G_MUTEX_DEBUG_INFO (mutex);
130 g_error ("Trying to recursivly lock a mutex at '%s', "
134 if (!g_thread_functions_for_glib_use_default.mutex_trylock (mutex))
    [all...]
  /external/icu4c/common/
umutex.c 17 * 11/22/99 aliu Make non-global mutex autoinitialize [j151]
73 * A note on ICU Mutex Initialization and ICU startup:
77 * of other ICU mutexes. For the global mutex itself, we need some other mechanism
80 * were racing into the mutex initialization code.
82 * The solution for the global mutex init is platform dependent.
83 * On POSIX systems, C-style init can be used on a mutex, with the
84 * macro PTHREAD_MUTEX_INITIALIZER. The mutex is then ready for use, without
87 * Windows has no equivalent statically initialized mutex or CRITICAL SECION.
88 * InitializeCriticalSection() must be called. If the global mutex does not
93 * If an application has overridden the ICU mutex implementatio
    [all...]
  /external/clearsilver/util/
ulocks.c 114 NEOERR *mCreate(pthread_mutex_t *mutex)
118 if((err = pthread_mutex_init(mutex, NULL))) {
119 return nerr_raise (NERR_LOCK, "Unable to initialize mutex: %s",
126 void mDestroy(pthread_mutex_t *mutex)
129 pthread_mutex_destroy(mutex);
134 NEOERR *mLock(pthread_mutex_t *mutex)
138 if((err = pthread_mutex_lock(mutex)))
139 return nerr_raise(NERR_LOCK, "Mutex lock failed: %s", strerror(err));
144 NEOERR *mUnlock(pthread_mutex_t *mutex)
148 if((err = pthread_mutex_unlock(mutex)))
    [all...]
  /external/webkit/JavaScriptCore/wtf/
ThreadingNone.cpp 45 Mutex::Mutex() { }
46 Mutex::~Mutex() { }
47 void Mutex::lock() { }
48 bool Mutex::tryLock() { return false; }
49 void Mutex::unlock() { }
53 void ThreadCondition::wait(Mutex&) { }
54 bool ThreadCondition::timedWait(Mutex&, double) { return false; }
ThreadingPthreads.cpp 58 static Mutex* atomicallyInitializedStaticMutex;
66 static Mutex& threadMapMutex()
68 DEFINE_STATIC_LOCAL(Mutex, mutex, ());
69 return mutex;
75 atomicallyInitializedStaticMutex = new Mutex;
252 Mutex::Mutex()
257 Mutex::~Mutex()
    [all...]
  /external/dbus/dbus/
dbus-threads-internal.h 33 void _dbus_mutex_free (DBusMutex *mutex);
34 void _dbus_mutex_lock (DBusMutex *mutex);
35 void _dbus_mutex_unlock (DBusMutex *mutex);
42 DBusMutex *mutex);
44 DBusMutex *mutex,
dbus-threads.h 40 /** An opaque mutex type provided by the #DBusThreadFunctions implementation installed by dbus_threads_init(). */
48 typedef void (* DBusMutexFreeFunction) (DBusMutex *mutex);
50 typedef dbus_bool_t (* DBusMutexLockFunction) (DBusMutex *mutex);
52 typedef dbus_bool_t (* DBusMutexUnlockFunction) (DBusMutex *mutex);
54 /** Creates a new recursively-lockable mutex, or returns #NULL if not
59 * where the mutex is fully unlocked to wait on a condition.
62 /** Frees a recursively-lockable mutex. Found in #DBusThreadFunctions.
64 typedef void (* DBusRecursiveMutexFreeFunction) (DBusMutex *mutex);
65 /** Locks a recursively-lockable mutex. Found in #DBusThreadFunctions.
68 typedef void (* DBusRecursiveMutexLockFunction) (DBusMutex *mutex);
    [all...]
  /external/skia/include/core/
SkThread.h 41 explicit SkAutoMutexAcquire(SkMutex& mutex) : fMutex(&mutex)
44 mutex.acquire();
46 /** If the mutex has not been release, release it now.
53 /** If the mutex has not been release, release it now.
  /external/webkit/JavaScriptCore/wtf/gtk/
ThreadingGtk.cpp 45 static Mutex* atomicallyInitializedStaticMutex;
49 static Mutex& threadMapMutex()
51 static Mutex mutex; local
52 return mutex;
62 atomicallyInitializedStaticMutex = new Mutex;
176 Mutex::Mutex()
181 Mutex::~Mutex()
    [all...]
  /external/webkit/JavaScriptCore/wtf/qt/
ThreadingQt.cpp 85 static Mutex* atomicallyInitializedStaticMutex;
89 static Mutex& threadMapMutex()
91 static Mutex mutex; local
92 return mutex;
146 atomicallyInitializedStaticMutex = new Mutex;
223 Mutex::Mutex()
228 Mutex::~Mutex()
    [all...]
  /hardware/libhardware/modules/gralloc/
gr.h 50 pthread_mutex_t mutex; member in class:Locker
58 inline Locker() { pthread_mutex_init(&mutex, 0); }
59 inline ~Locker() { pthread_mutex_destroy(&mutex); }
60 inline void lock() { pthread_mutex_lock(&mutex); }
61 inline void unlock() { pthread_mutex_unlock(&mutex); }
  /hardware/msm7k/libgralloc/
gr.h 50 pthread_mutex_t mutex; member in class:Locker
58 inline Locker() { pthread_mutex_init(&mutex, 0); }
59 inline ~Locker() { pthread_mutex_destroy(&mutex); }
60 inline void lock() { pthread_mutex_lock(&mutex); }
61 inline void unlock() { pthread_mutex_unlock(&mutex); }
  /hardware/msm7k/libgralloc-qsd8k/
gr.h 49 pthread_mutex_t mutex; member in class:Locker
57 inline Locker() { pthread_mutex_init(&mutex, 0); }
58 inline ~Locker() { pthread_mutex_destroy(&mutex); }
59 inline void lock() { pthread_mutex_lock(&mutex); }
60 inline void unlock() { pthread_mutex_unlock(&mutex); }
  /frameworks/base/include/utils/
threads.h 204 * Simple mutex class. The implementation is system-dependent.
206 * The mutex must be unlocked by the thread that locked it. They are not
209 class Mutex {
216 Mutex();
217 Mutex(const char* name);
218 Mutex(int type, const char* name = NULL);
219 ~Mutex();
221 // lock or unlock the mutex
228 // Manages the mutex automatically. It'll be locked when Autolock is
232 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock();
    [all...]
  /external/bluetooth/glib/glib/
gthread.c 144 /* mutex and cond creation works without g_threads_got_initialized */
148 /* we may only create mutex and cond in here */
239 g_static_mutex_init (GStaticMutex *mutex)
243 g_return_if_fail (mutex);
245 *mutex = init_mutex;
249 g_static_mutex_get_mutex_impl (GMutex** mutex)
258 if (!(*mutex))
259 g_atomic_pointer_set (mutex, g_mutex_new());
263 return *mutex;
267 g_static_mutex_free (GStaticMutex* mutex)
    [all...]
  /external/skia/src/core/
SkPixelRef.cpp 8 SkPixelRef::SkPixelRef(SkMutex* mutex) {
9 if (NULL == mutex) {
10 mutex = &gPixelRefMutex;
12 fMutex = mutex;
20 SkPixelRef::SkPixelRef(SkFlattenableReadBuffer& buffer, SkMutex* mutex) {
21 if (NULL == mutex) {
22 mutex = &gPixelRefMutex;
24 fMutex = mutex;
  /frameworks/base/media/libmediaplayerservice/
MediaRecorderClient.cpp 65 Mutex::Autolock lock(mLock);
76 Mutex::Autolock lock(mLock);
90 Mutex::Autolock lock(mLock);
104 Mutex::Autolock lock(mLock);
115 Mutex::Autolock lock(mLock);
126 Mutex::Autolock lock(mLock);
137 Mutex::Autolock lock(mLock);
148 Mutex::Autolock lock(mLock);
159 Mutex::Autolock lock(mLock);
170 Mutex::Autolock lock(mLock)
    [all...]
  /frameworks/base/libs/surfaceflinger/
Barrier.h 36 Mutex::Autolock _l(lock);
41 Mutex::Autolock _l(lock);
45 Mutex::Autolock _l(lock);
52 mutable Mutex lock;
  /external/bluetooth/glib/docs/reference/glib/
glib-overrides.txt 33 GMutex *mutex
39 GMutex *mutex
45 GMutex *mutex
51 GMutex *mutex
68 GStaticMutex* mutex
74 GStaticMutex* mutex
80 GStaticMutex* mutex
86 GStaticMutex* mutex
159 GCond *cond, GMutex *mutex
165 GCond *cond, GMutex *mutex, GTimeVal *abs_tim
    [all...]
  /external/opencore/baselibs/gen_data_structures/src/
pv_string.cpp 39 src.rep->mutex.Lock();
42 src.rep->mutex.Unlock();
47 rep->mutex.Lock();
52 else rep->mutex.Unlock();
62 src.rep->mutex.Lock();
64 rep->mutex.Lock();
71 rep->mutex.Unlock();
75 src.rep->mutex.Unlock();
86 rep->mutex.Lock();
93 rep->mutex.Unlock()
    [all...]
  /bionic/libc/bionic/
pthread.c 320 // Create a mutex for the thread in TLS_SLOT_SELF to wait on once it starts so we can keep
733 // mutex lock states
739 /* a mutex is implemented as a 32-bit integer holding the following fields
743 * 15-14 type mutex type
762 /* a mutex attribute holds the following fields
765 * 0-3 type type of mutex
830 * mutexes but won't cleanup if a process dies with the mutex held.
850 int pthread_mutex_init(pthread_mutex_t *mutex,
855 if (mutex == NULL)
859 mutex->value = MUTEX_TYPE_NORMAL
    [all...]
  /external/opencore/oscl/oscl/osclproc/src/
oscl_mutex.h 28 * @brief This file provides implementation of mutex
70 * Creates the Mutex
81 * Locks the Mutex
90 * Try to lock the mutex,if the Mutex is already locked calling thread
94 * @return Returns SUCCESS_ERROR if the mutex was acquired,
95 * MUTEX_LOCKED_ERROR if the mutex cannot be acquired without waiting,
104 * Releases the Mutex
114 * Closes the Mutex
141 * no CPU-yielding operation done while the Mutex is locked
    [all...]
  /external/icu4c/common/unicode/
uclean.h 83 * u_cleanup() also clears any ICU heap functions, mutex functions or
123 * An opaque pointer type that represents an ICU mutex.
125 * struct or object that implements the mutex.
132 * Function Pointer type for a user supplied mutex initialization function.
134 * new mutex. The function implementation should create a mutex, and store a pointer
135 * to something that uniquely identifies the mutex into the UMTX that is supplied
138 * @param mutex Receives a pointer that identifies the new mutex.
139 * The mutex init function must set the UMTX to a non-null value.
    [all...]
  /external/qemu/distrib/sdl-1.2.12/include/
SDL_mutex.h 50 /* Mutex functions */
53 /* The SDL mutex structure, defined in SDL_mutex.c */
57 /* Create a mutex, initialized unlocked */
60 /* Lock the mutex (Returns 0, or -1 on error) */
62 extern DECLSPEC int SDLCALL SDL_mutexP(SDL_mutex *mutex);
64 /* Unlock the mutex (Returns 0, or -1 on error)
65 It is an error to unlock a mutex that has not been locked by
69 extern DECLSPEC int SDLCALL SDL_mutexV(SDL_mutex *mutex);
71 /* Destroy a mutex */
72 extern DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex *mutex);
    [all...]
  /prebuilt/darwin-x86/sdl/include/SDL/
SDL_mutex.h 50 /* Mutex functions */
53 /* The SDL mutex structure, defined in SDL_mutex.c */
57 /* Create a mutex, initialized unlocked */
60 /* Lock the mutex (Returns 0, or -1 on error) */
62 extern DECLSPEC int SDLCALL SDL_mutexP(SDL_mutex *mutex);
64 /* Unlock the mutex (Returns 0, or -1 on error)
65 It is an error to unlock a mutex that has not been locked by
69 extern DECLSPEC int SDLCALL SDL_mutexV(SDL_mutex *mutex);
71 /* Destroy a mutex */
72 extern DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex *mutex);
    [all...]

Completed in 267 milliseconds

1 23 4 5 6 7 8 91011>>