HomeSort by relevance Sort by last modified time
    Searched refs:Mutex (Results 1 - 25 of 1206) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /frameworks/minikin/libs/minikin/
MinikinInternal.cpp 23 Mutex gMinikinLock;
MinikinInternal.h 22 #include <utils/Mutex.h>
30 extern Mutex gMinikinLock;
  /external/libnfc-nci/halimpl/bcm2079x/adaptation/
Mutex.h 21 * Encapsulate a mutex for thread synchronization.
29 class Mutex
34 ** Function: Mutex
41 Mutex ();
46 ** Function: ~Mutex
53 ~Mutex ();
60 ** Description: Block the thread and try lock the mutex.
72 ** Description: Unlock a mutex to unblock a thread.
84 ** Description: Try to lock the mutex.
86 ** Returns: True if the mutex is locked
    [all...]
Mutex.cpp 21 * Encapsulate a mutex for thread synchronization.
27 #include "Mutex.h"
32 ** Function: Mutex
39 Mutex::Mutex ()
45 ALOGE ("Mutex::Mutex: fail init; error=0x%X", res);
52 ** Function: ~Mutex
59 Mutex::~Mutex ()
    [all...]
  /frameworks/rs/
rsMutex.h 26 class Mutex {
28 Mutex();
29 ~Mutex();
rsMutex.cpp 23 Mutex::Mutex() {
26 Mutex::~Mutex() {
30 bool Mutex::init() {
33 ALOGE("Mutex::Mutex init failure");
39 bool Mutex::lock() {
43 ALOGE("Mutex: error %i locking.", status);
49 bool Mutex::unlock()
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/
rsMutex.h 26 class Mutex {
28 Mutex();
29 ~Mutex();
  /prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/
rsMutex.h 26 class Mutex {
28 Mutex();
29 ~Mutex();
  /prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/
rsMutex.h 26 class Mutex {
28 Mutex();
29 ~Mutex();
  /frameworks/ex/variablespeed/jni/
no_synchronization.h 23 // The sola_time_scaler (which is the code that uses this mutex class) is
27 // fake mutex that does nothing.
29 class Mutex {
31 Mutex() {}
32 virtual ~Mutex() {}
37 DISALLOW_COPY_AND_ASSIGN(Mutex);
42 explicit MutexLock(Mutex* mu) : mu_(mu) {}
46 Mutex* const mu_;
  /system/core/include/utils/
Mutex.h 37 * Simple mutex class. The implementation is system-dependent.
39 * The mutex must be unlocked by the thread that locked it. They are not
42 class Mutex {
49 Mutex();
50 Mutex(const char* name);
51 Mutex(int type, const char* name = NULL);
52 ~Mutex();
54 // lock or unlock the mutex
61 // Manages the mutex automatically. It'll be locked when Autolock is
65 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock();
    [all...]
  /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...]
Mutex.cpp 18 * Encapsulate a mutex for thread synchronization.
21 #include "Mutex.h"
29 ** Function: Mutex
36 Mutex::Mutex ()
42 ALOGE ("Mutex::Mutex: fail init; error=0x%X", res);
49 ** Function: ~Mutex
56 Mutex::~Mutex ()
    [all...]
  /external/deqp/framework/delibs/decpp/
deMutex.hpp 35 * Mutex class provides standard mutual exclusion lock functionality.
37 class Mutex
40 Mutex (deUint32 flags = 0);
41 ~Mutex (void);
48 Mutex (const Mutex& other); // Not allowed!
49 Mutex& operator= (const Mutex& other); // Not allowed!
55 * \brief Scoped mutex lock.
57 * ScopedLock provides helper for maintaining Mutex lock for the duratio
    [all...]
deMutex.cpp 34 * \param flags Mutex flags as described in deMutex.h.
35 * DE_MUTEX_RECURSIVE flag enables recursive mutex.
37 Mutex::Mutex (deUint32 flags)
49 Mutex::~Mutex (void)
  /external/compiler-rt/test/tsan/
ignore_sync.cc 9 pthread_mutex_t Mutex = PTHREAD_MUTEX_INITIALIZER;
13 pthread_mutex_lock(&Mutex);
15 pthread_mutex_unlock(&Mutex);
23 pthread_mutex_lock(&Mutex);
25 pthread_mutex_unlock(&Mutex);
  /external/chromium_org/third_party/re2/util/
mutex.h 6 * A simple mutex wrapper, supporting locks and read-write locks.
51 # error Need to implement mutex.h for your architecture, or #define NO_THREADS
54 class Mutex {
56 // Create a Mutex that is not held by anybody.
57 inline Mutex();
60 inline ~Mutex();
70 inline void ReaderUnlock(); // Release a read share of this Mutex
78 // Catch the error of writing Mutex when intending MutexLock.
79 Mutex(Mutex *ignored)
    [all...]
  /external/regex-re2/util/
mutex.h 6 * A simple mutex wrapper, supporting locks and read-write locks.
47 # error Need to implement mutex.h for your architecture, or #define NO_THREADS
50 class Mutex {
52 // Create a Mutex that is not held by anybody.
53 inline Mutex();
56 inline ~Mutex();
66 inline void ReaderUnlock(); // Release a read share of this Mutex
74 // Catch the error of writing Mutex when intending MutexLock.
75 Mutex(Mutex *ignored)
    [all...]
  /external/ceres-solver/internal/ceres/
mutex.h 31 // A simple mutex wrapper, supporting locks and read-write locks.
39 // problems when we have multiple versions of Mutex in each shared object.
63 // function that tries to acquire this mutex -- but that all happens
64 // before this mutex's constructor has run. (This can happen even if
65 // the mutex and the function that uses the mutex are in the same .cc
66 // file.) Basically, because Mutex does non-trivial work in its
70 // The solution used here is to pair the actual mutex primitive with a
71 // bool that is set to true when the mutex is dynamically initialized.
72 // (Before that it's false.) Then we modify all mutex routines t
    [all...]
  /external/lldb/include/lldb/Host/
Mutex.h 1 //===-- Mutex.h -------------------------------------------------*- C++ -*-===//
24 /// @class Mutex Mutex.h "lldb/Host/Mutex.h"
27 class Mutex
35 eMutexTypeNormal, ///< Mutex that can't recursively entered by the same thread
36 eMutexTypeRecursive ///< Mutex can be recursively entered by the same thread
40 /// @class Mutex::Locker
42 /// A scoped locking class that allows a variety of pthread mutex
43 /// objects to have a mutex locked when an Mutex::Locke
    [all...]
  /external/libcxx/test/thread/thread.condition/thread.condition.condvarany/
wait.exception.pass.cpp 3 #include <mutex>
13 struct Mutex
16 Mutex() = default;
17 ~Mutex() = default;
18 Mutex(const Mutex&) = delete;
19 Mutex& operator=(const Mutex&) = delete;
30 Mutex mut;
wait_for.exception.pass.cpp 3 #include <mutex>
13 struct Mutex
16 Mutex() = default;
17 ~Mutex() = default;
18 Mutex(const Mutex&) = delete;
19 Mutex& operator=(const Mutex&) = delete;
30 Mutex mut;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvarany/
wait.exception.pass.cpp 3 #include <mutex>
13 struct Mutex
16 Mutex() = default;
17 ~Mutex() = default;
18 Mutex(const Mutex&) = delete;
19 Mutex& operator=(const Mutex&) = delete;
30 Mutex mut;
wait_for.exception.pass.cpp 3 #include <mutex>
13 struct Mutex
16 Mutex() = default;
17 ~Mutex() = default;
18 Mutex(const Mutex&) = delete;
19 Mutex& operator=(const Mutex&) = delete;
30 Mutex mut;

Completed in 1880 milliseconds

1 2 3 4 5 6 7 8 91011>>