Searched refs:Mutex (Results 1 - 25 of 529) sorted by relevance

1234567891011>>

/macosx-10.9.5/libsecurity_ldap_dl-55002/lib/
H A DMutex.h36 class Mutex class
40 Mutex () {} function in class:Mutex
50 // Mutex which initializes its own mutex
51 class DynamicMutex : public Mutex
63 // Mutex which takes an externally initialized mutex
64 class StaticMutex : public Mutex
79 Mutex& mMutex;
82 MutexLocker (Mutex &mutex);
H A DMutex.cpp26 #include "Mutex.h"
51 void Mutex::Lock ()
58 void Mutex::Unlock ()
66 MutexLocker::MutexLocker (Mutex &mutex) : mMutex (mutex)
/macosx-10.9.5/ruby-104/ruby/benchmark/
H A Dbm_vm2_mutex.rb3 m = Mutex.new
H A Dbm_vm_thread_mutex1.rb4 m = Mutex.new
H A Dbm_vm_thread_mutex2.rb4 m = Mutex.new
H A Dbm_vm_thread_mutex3.rb4 m = Mutex.new
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Support/
H A DMutexGuard.h1 //===-- Support/MutexGuard.h - Acquire/Release Mutex In Scope ---*- C++ -*-===//
10 // This file defines a guard for a block of code that ensures a Mutex is locked
18 #include "llvm/Support/Mutex.h"
21 /// Instances of this class acquire a given Mutex Lock when constructed and
24 /// destruction of the object will always release the Mutex and thus avoid
26 /// @brief Guard a section of code with a Mutex.
28 sys::Mutex &M;
32 MutexGuard(sys::Mutex &m) : M(m) { M.acquire(); }
37 bool holds(const sys::Mutex& lock) const { return &M == &lock; }
/macosx-10.9.5/ruby-104/ruby/
H A Dprelude.rb2 MUTEX_FOR_THREAD_EXCLUSIVE = Mutex.new # :nodoc:
/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Dmutex.h31 // should instantiate a Mutex object while doing so. You should make your own
41 // Mutex mutex(&myMutex); // or no args for the global lock
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 the
51 class U_COMMON_API Mutex : public UMemory { class in inherits:UMemory
53 inline Mutex(UMutex *mutex = NULL);
54 inline ~Mutex();
59 Mutex(const Mutex &other); // forbid copying of this class
60 Mutex
63 inline Mutex::Mutex(UMutex *mutex) function in class:Mutex
[all...]
H A Dservnotf.cpp31 Mutex lmx(&notifyLock);
48 Mutex lmx(&notifyLock);
81 Mutex lmx(&notifyLock);
104 Mutex lmx(&notifyLock);
H A Dmutex.cpp41 Mutex mutex;
102 Mutex mutex;
133 /* If UCONFIG_NO_SERVICE, then there is no invocation of Mutex elsewhere in
135 static Mutex *aMutex = 0;
/macosx-10.9.5/securityd-55199.3/src/
H A Dstructure.cpp38 StLock<Mutex> _(mCoreLock);
49 StLock<Mutex> _(*this);
55 StLock<Mutex> _(*this);
62 StLock<Mutex> _(*this);
71 StLock<Mutex> _(*this);
78 StLock<Mutex> _(*this);
100 StLock<Mutex> _(*this);
116 StLock<Mutex> _(*this);
125 StLock<Mutex> _(*this);
142 Mutex NodeCor
[all...]
H A Dchild.cpp34 // We use a static Mutex to coordinate checkin
36 Mutex ServerChild::mCheckinLock;
88 StLock<Mutex> _(mCheckinLock);
123 StLock<Mutex> _(mCheckinLock);
/macosx-10.9.5/Security-55471.14.18/libsecurity_apple_x509_cl/lib/
H A DLockedMap.h20 * LockedMap.h - STL-style map with attached Mutex
38 Mutex mMapLock;
57 StLock<Mutex> _(mMapLock);
64 StLock<Mutex> _(mMapLock);
71 StLock<Mutex> _(mMapLock);
82 StLock<Mutex> _(mMapLock);
/macosx-10.9.5/ruby-104/ruby/test/thread/
H A Dtest_cv.rb8 mutex = Mutex.new
30 mutex = Mutex.new
58 mutex = Mutex.new
88 mutex = Mutex.new
109 mutex = Mutex.new
133 mutex = Mutex.new
154 mutex = Mutex.new
161 mutex = Mutex.new
170 mutex = Mutex.new
179 mutex = Mutex
[all...]
/macosx-10.9.5/Security-55471.14.18/include/security_utilities/
H A Dthreading.cpp53 // Mutex implementation
73 Mutex::Mutex() function in class:Mutex
78 Mutex::Mutex(Type type) function in class:Mutex
91 Mutex::~Mutex()
98 void Mutex::lock()
104 bool Mutex::tryLock()
116 void Mutex
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_utilities/lib/
H A Dthreading.cpp53 // Mutex implementation
73 Mutex::Mutex() function in class:Mutex
78 Mutex::Mutex(Type type) function in class:Mutex
91 Mutex::~Mutex()
98 void Mutex::lock()
104 bool Mutex::tryLock()
116 void Mutex
[all...]
/macosx-10.9.5/Security-55471.14.18/include/security_cdsa_plugin/
H A DDatabase.cpp38 StLock<Mutex> _(mDatabaseMapLock);
53 StLock<Mutex> _(mDatabaseMapLock);
157 StLock<Mutex> _(mDbContextSetLock);
172 StLock<Mutex> _(mDbContextSetLock);
183 StLock<Mutex> _(mDbContextSetLock);
205 StLock<Mutex> _(mDbContextSetLock);
217 StLock<Mutex> _(mDbContextSetLock);
228 StLock<Mutex> _(mDbContextSetLock);
/macosx-10.9.5/Security-55471.14.18/libsecurity_cdsa_plugin/lib/
H A DDatabase.cpp38 StLock<Mutex> _(mDatabaseMapLock);
53 StLock<Mutex> _(mDatabaseMapLock);
157 StLock<Mutex> _(mDbContextSetLock);
172 StLock<Mutex> _(mDbContextSetLock);
183 StLock<Mutex> _(mDbContextSetLock);
205 StLock<Mutex> _(mDbContextSetLock);
217 StLock<Mutex> _(mDbContextSetLock);
228 StLock<Mutex> _(mDbContextSetLock);
/macosx-10.9.5/WebCore-7537.78.1/page/scrolling/
H A DScrollingThread.h74 Mutex m_initializeRunLoopConditionMutex;
76 Mutex m_functionsMutex;
/macosx-10.9.5/WebCore-7537.78.1/platform/network/cf/
H A DLoaderRunLoopCF.cpp41 static Mutex& loaderRunLoopMutex()
43 DEFINE_STATIC_LOCAL(Mutex, mutex, ());
/macosx-10.9.5/WebCore-7537.78.1/platform/sql/
H A DSQLiteDatabase.h116 Mutex& databaseMutex() { return m_lockingMutex; }
152 Mutex m_authorizerLock;
155 Mutex m_lockingMutex;
158 Mutex m_databaseClosingMutex;
/macosx-10.9.5/SmartCardServices-55111/src/PCSC/
H A Dpcscdserver.h89 void add(MachPlusPlus::PowerWatcher *client) { StLock<Mutex> _(mLock); sleepWatcher.add(client); }
90 void remove(MachPlusPlus::PowerWatcher *client) { StLock<Mutex> _(mLock); sleepWatcher.remove(client); }
95 mutable Mutex mLock;
/macosx-10.9.5/Security-55471.14.18/include/security_keychain/
H A DAccess.cpp50 Access::Access() : mMutex(Mutex::recursive)
66 Access::Access(const string &descriptor, const ACL::ApplicationList &trusted) : mMutex(Mutex::recursive)
71 Access::Access(const string &descriptor) : mMutex(Mutex::recursive)
79 const AclAuthorizationSet &limitedRights, const AclAuthorizationSet &freeRights) : mMutex(Mutex::recursive)
87 StLock<Mutex>_(mMutex);
125 Access::Access(AclBearer &source) : mMutex(Mutex::recursive)
140 uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls) : mMutex(Mutex::recursive)
183 StLock<Mutex>_(mMutex);
190 StLock<Mutex>_(mMutex);
203 StLock<Mutex>
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/Security/
H A DAccess.cpp50 Access::Access() : mMutex(Mutex::recursive)
66 Access::Access(const string &descriptor, const ACL::ApplicationList &trusted) : mMutex(Mutex::recursive)
71 Access::Access(const string &descriptor) : mMutex(Mutex::recursive)
79 const AclAuthorizationSet &limitedRights, const AclAuthorizationSet &freeRights) : mMutex(Mutex::recursive)
87 StLock<Mutex>_(mMutex);
125 Access::Access(AclBearer &source) : mMutex(Mutex::recursive)
140 uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls) : mMutex(Mutex::recursive)
183 StLock<Mutex>_(mMutex);
190 StLock<Mutex>_(mMutex);
203 StLock<Mutex>
[all...]

Completed in 305 milliseconds

1234567891011>>