/dports/sysutils/gsmartcontrol/gsmartcontrol-1.1.3/src/hz/ |
H A D | sync_policy_glib.h | 53 bool trylock() { return native_trylock(mutex_); } in trylock() function 86 bool trylock() { return native_trylock(mutex_); } in trylock() function 127 bool trylock(bool for_write = false) { return native_trylock(mutex_, for_write); } 177 bool trylock() { return native_trylock(mutex_); } 210 bool trylock() { return native_trylock(mutex_); } 251 bool trylock(bool for_write = false) { return native_trylock(mutex_, for_write); } 324 static bool trylock(Mutex& m) { return m.trylock(); } in trylock() function 328 static bool trylock(NativeMutex& m) { return Mutex::native_trylock(m); } in trylock() function 332 static bool trylock(RecMutex& m) { return m.trylock(); } in trylock() function 336 static bool trylock(NativeRecMutex& m) { return RecMutex::native_trylock(m); } in trylock() function [all …]
|
H A D | sync_policy_pthread.h | 148 bool trylock() { return native_trylock(mutex_); } in trylock() function 243 bool trylock() in trylock() function 333 bool trylock(bool for_write = false) { return native_trylock(rwl_, for_write); } 391 static bool trylock(Mutex& m) { return m.trylock(); } in trylock() function 395 static bool trylock(NativeMutex& m) { return Mutex::native_trylock(m); } in trylock() function 399 static bool trylock(RecMutex& m) { return m.trylock(); } in trylock() function 407 static bool trylock(RWMutex& m, bool for_write = false) { return m.trylock(for_write); } 411 …static bool trylock(NativeRWMutex& m, bool for_write = false) { return RWMutex::native_trylock(m, …
|
H A D | sync.h | 284 locked_ = Policy::trylock(mutex_); in mutex_() 301 return (locked_= Policy::trylock(mutex_)); in retry() 362 locked_ = Policy::trylock(mutex_, for_write); in mutex_() 377 return (locked_= Policy::trylock(mutex_, for_write_)); in retry() 430 static bool trylock(Mutex& m) { return true; } // behave as it was successful in trylock() function 434 static bool trylock(NativeMutex& m) { return true; } in trylock() function 438 static bool trylock(RecMutex& m) { return true; } in trylock() function 442 static bool trylock(NativeRecMutex& m) { return true; } in trylock() function 446 static bool trylock(RWMutex& m, bool for_write = false) { return true; } 450 static bool trylock(NativeRWMutex& m, bool for_write = false) { return true; }
|
H A D | sync_policy_win32.h | 101 bool trylock() { return native_trylock(cs_); } in trylock() function 180 bool trylock(bool for_write = false) 313 static bool trylock(Mutex& m) { return m.trylock(); } in trylock() function 317 static bool trylock(NativeMutex& m) { return Mutex::native_trylock(m); } in trylock() function 321 static bool trylock(RecMutex& m) { return m.trylock(); } in trylock() function 329 static bool trylock(RWMutex& m, bool for_write = false) { return m.trylock(for_write); }
|
H A D | sync_policy_glibmm.h | 87 static bool trylock(Mutex& m) { return m.trylock(); } in trylock() function 91 static bool trylock(RecMutex& m) { return m.trylock(); } in trylock() function 102 static bool trylock(RWMutex& m, bool for_write = false)
|
H A D | sync_test.cpp | 55 SyncPolicyMtDefault::trylock(m); in main() 65 SyncPolicyMtDefault::trylock(m); in main() 77 SyncPolicyMtDefault::trylock(m); in main() 82 SyncPolicyMtDefault::trylock(m, true); in main()
|
/dports/audio/rezound/rezound-0.13.1beta/src/misc/ |
H A D | CMutex.h | 96 void lock() { trylock(-1); } in FXIMPLEMENT() 99 virtual bool trylock(int timeout_ms=0/*in milliseconds*/) { in FXIMPLEMENT() 122 void lock() { trylock(-1); } 125 bool trylock(int timeout_ms=0/*in milliseconds*/); 142 bool trylock(int timeout_ms=0/*in milliseconds*/); // note: timeout_ms value is ignored in getDefaultWidth() 164 void lock() { trylock(-1); } in setUnits() 167 bool trylock(int timeout_ms=0/*in milliseconds*/); in setUnits()
|
H A D | CMutex.cpp | 65 bool CMutex::trylock(int timeout_ms) in trylock() function in CMutex 129 bool CFastMutex::trylock(int timeout_ms){ in trylock() function in CFastMutex 233 bool CMutex::trylock(int timeout_ms) in trylock() function in CMutex 280 …#warning this is a very poor and starvation-prone implementation of trylock-with-timeout. Do not … in trylock() 288 if(trylock(0)) in trylock() 294 return trylock(0); in trylock() 382 if(_m.trylock(timeout_ms)) in reassign()
|
/dports/benchmarks/fio/fio-3.29/ |
H A D | filelock.c | 52 static struct fio_filelock *get_filelock(int trylock, int *retry) in get_filelock() argument 58 if (ff || trylock) in get_filelock() 133 static struct fio_filelock *fio_hash_get(uint32_t hash, int trylock) in fio_hash_get() argument 141 ff = get_filelock(trylock, &retry); in fio_hash_get() 168 static bool __fio_lock_file(const char *fname, int trylock) in __fio_lock_file() argument 176 ff = fio_hash_get(hash, trylock); in __fio_lock_file() 182 assert(trylock); in __fio_lock_file() 186 if (!trylock) { in __fio_lock_file()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/nio/channels/FileChannel/ |
H A D | TryLock.java | 57 public static void test1(boolean shared, boolean trylock) throws Exception { in test1() argument 63 if (trylock) in test1() 80 public static void test2(boolean shared, boolean trylock) throws Exception { in test2() argument 86 if (trylock) in test2() 103 public static void test3(boolean shared, boolean trylock) throws Exception { in test3() argument 109 if (trylock) in test3()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/nio/channels/FileChannel/ |
H A D | TryLock.java | 57 public static void test1(boolean shared, boolean trylock) throws Exception { in test1() argument 63 if (trylock) in test1() 80 public static void test2(boolean shared, boolean trylock) throws Exception { in test2() argument 86 if (trylock) in test2() 103 public static void test3(boolean shared, boolean trylock) throws Exception { in test3() argument 109 if (trylock) in test3()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/nio/channels/FileChannel/ |
H A D | TryLock.java | 57 public static void test1(boolean shared, boolean trylock) throws Exception { in test1() argument 63 if (trylock) in test1() 80 public static void test2(boolean shared, boolean trylock) throws Exception { in test2() argument 86 if (trylock) in test2() 103 public static void test3(boolean shared, boolean trylock) throws Exception { in test3() argument 109 if (trylock) in test3()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/nio/channels/FileChannel/ |
H A D | TryLock.java | 57 public static void test1(boolean shared, boolean trylock) throws Exception { in test1() argument 63 if (trylock) in test1() 80 public static void test2(boolean shared, boolean trylock) throws Exception { in test2() argument 86 if (trylock) in test2() 103 public static void test3(boolean shared, boolean trylock) throws Exception { in test3() argument 109 if (trylock) in test3()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/nio/channels/FileChannel/ |
H A D | TryLock.java | 57 public static void test1(boolean shared, boolean trylock) throws Exception { in test1() argument 63 if (trylock) in test1() 80 public static void test2(boolean shared, boolean trylock) throws Exception { in test2() argument 86 if (trylock) in test2() 103 public static void test3(boolean shared, boolean trylock) throws Exception { in test3() argument 109 if (trylock) in test3()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/nio/channels/FileChannel/ |
H A D | TryLock.java | 57 public static void test1(boolean shared, boolean trylock) throws Exception { in test1() argument 63 if (trylock) in test1() 80 public static void test2(boolean shared, boolean trylock) throws Exception { in test2() argument 86 if (trylock) in test2() 103 public static void test3(boolean shared, boolean trylock) throws Exception { in test3() argument 109 if (trylock) in test3()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/nio/channels/FileChannel/ |
H A D | TryLock.java | 57 public static void test1(boolean shared, boolean trylock) throws Exception { in test1() argument 63 if (trylock) in test1() 80 public static void test2(boolean shared, boolean trylock) throws Exception { in test2() argument 86 if (trylock) in test2() 103 public static void test3(boolean shared, boolean trylock) throws Exception { in test3() argument 109 if (trylock) in test3()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/java/nio/channels/FileChannel/ |
H A D | TryLock.java | 57 public static void test1(boolean shared, boolean trylock) throws Exception { in test1() argument 63 if (trylock) in test1() 80 public static void test2(boolean shared, boolean trylock) throws Exception { in test2() argument 86 if (trylock) in test2() 103 public static void test3(boolean shared, boolean trylock) throws Exception { in test3() argument 109 if (trylock) in test3()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/nio/channels/FileChannel/ |
H A D | TryLock.java | 57 public static void test1(boolean shared, boolean trylock) throws Exception { in test1() argument 63 if (trylock) in test1() 80 public static void test2(boolean shared, boolean trylock) throws Exception { in test2() argument 86 if (trylock) in test2() 103 public static void test3(boolean shared, boolean trylock) throws Exception { in test3() argument 109 if (trylock) in test3()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/java/nio/channels/FileChannel/ |
H A D | TryLock.java | 57 public static void test1(boolean shared, boolean trylock) throws Exception { in test1() argument 63 if (trylock) in test1() 80 public static void test2(boolean shared, boolean trylock) throws Exception { in test2() argument 86 if (trylock) in test2() 103 public static void test3(boolean shared, boolean trylock) throws Exception { in test3() argument 109 if (trylock) in test3()
|
/dports/x11-toolkits/fox17/fox-1.7.77/include/ |
H A D | FXSpinLock.h | 51 FXbool trylock(); 91 FXbool trylock(){ return spn.trylock(); } in trylock() function 129 FXbool trylock(){ return spn.trylock(); } in trylock() function
|
H A D | FXMutex.h | 50 FXbool trylock(); 90 FXbool trylock(){ return mtx.trylock(); } in trylock() function 128 FXbool trylock(){ return mtx.trylock(); } in trylock() function
|
/dports/audio/gogglesmm/gogglesmm-1.2.2/cfox/include/ |
H A D | FXMutex.h | 50 FXbool trylock(); 90 FXbool trylock(){ return mtx.trylock(); } in trylock() function 128 FXbool trylock(){ return mtx.trylock(); } in trylock() function
|
/dports/devel/libcwd/libcwd-1.0.6/include/libcwd/ |
H A D | private_lock_interface.h | 27 virtual int trylock(void) = 0; 37 virtual int trylock(void) { return ptr->trylock(); } in trylock() function 47 virtual int trylock(void);
|
/dports/net-im/gloox/gloox-1.0.24/src/ |
H A D | mutex.cpp | 42 bool trylock(); 91 bool Mutex::MutexImpl::trylock() in trylock() function in gloox::util::Mutex::MutexImpl 126 bool Mutex::trylock() in trylock() function in gloox::util::Mutex 128 return m_mutex->trylock(); in trylock()
|
/dports/devel/pecl-swoole/swoole-4.8.5/include/ |
H A D | swoole_lock.h | 46 virtual int trylock() = 0; 74 int trylock() override; 91 int trylock() override; 106 int trylock() override;
|