/dports/audio/praat/praat-6.2.03/external/espeak/ |
H A D | fifo.cpp | 44 static pthread_mutex_t my_mutex; in ~RecyclingAllocator() 100 pthread_mutex_unlock(&my_mutex); in delete() 110 pthread_mutex_unlock(&my_mutex); 119 pthread_mutex_unlock(&my_mutex); 136 pthread_mutex_unlock(&my_mutex); 141 pthread_mutex_unlock(&my_mutex); 146 pthread_mutex_unlock(&my_mutex); 155 pthread_mutex_unlock(&my_mutex); 229 pthread_mutex_unlock(&my_mutex); 350 pthread_mutex_unlock(&my_mutex); [all …]
|
/dports/math/stanmath/math-4.2.0/lib/tbb_2020.3/include/tbb/internal/ |
H A D | _x86_eliding_mutex_impl.h | 65 x86_eliding_mutex* my_mutex; 69 scoped_lock() : my_mutex(NULL) {} in scoped_lock() 72 scoped_lock( x86_eliding_mutex& m ) : my_mutex(NULL) { acquire(m); } in scoped_lock() 76 __TBB_ASSERT( !my_mutex, "already holding a lock" ); in acquire() 78 my_mutex=&m; in acquire() 79 my_mutex->lock(); in acquire() 85 __TBB_ASSERT( !my_mutex, "already holding a lock" ); in try_acquire() 89 my_mutex = &m; in try_acquire() 98 my_mutex->unlock(); in release() 99 my_mutex = NULL; in release() [all …]
|
H A D | _flow_graph_cache_impl.h | 36 typename mutex_type::scoped_lock lock( my_mutex ); in empty() 41 typename mutex_type::scoped_lock lock( my_mutex ); in add() 46 typename mutex_type::scoped_lock lock( my_mutex ); in remove() 67 typename mutex_type::scoped_lock lock( my_mutex ); in internal_add_built_predecessor() 72 typename mutex_type::scoped_lock lock( my_mutex ); in internal_delete_built_predecessor() 77 typename mutex_type::scoped_lock lock( my_mutex ); in copy_predecessors() 82 typename mutex_type::scoped_lock lock(my_mutex); in predecessor_count() 90 mutex_type my_mutex; variable 277 mutex_type my_mutex; variable 303 typename mutex_type::scoped_lock l(my_mutex, true); in internal_add_built_successor() [all …]
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/bundled/tbb-2018_U2/include/tbb/internal/ |
H A D | _x86_eliding_mutex_impl.h | 69 x86_eliding_mutex* my_mutex; 73 scoped_lock() : my_mutex(NULL) {} in scoped_lock() 76 scoped_lock( x86_eliding_mutex& m ) : my_mutex(NULL) { acquire(m); } in scoped_lock() 80 __TBB_ASSERT( !my_mutex, "already holding a lock" ); in acquire() 82 my_mutex=&m; in acquire() 83 my_mutex->lock(); in acquire() 89 __TBB_ASSERT( !my_mutex, "already holding a lock" ); in try_acquire() 93 my_mutex = &m; in try_acquire() 102 my_mutex->unlock(); in release() 103 my_mutex = NULL; in release() [all …]
|
H A D | _flow_graph_cache_impl.h | 40 typename mutex_type::scoped_lock lock( my_mutex ); in empty() 94 mutex_type my_mutex; variable 281 mutex_type my_mutex; variable 373 mutex_type my_mutex; variable 398 mutex_type::scoped_lock l(my_mutex, true); in internal_add_built_successor() 403 mutex_type::scoped_lock l(my_mutex, true); in internal_delete_built_successor() 408 mutex_type::scoped_lock l(my_mutex, false); in copy_successors() 413 mutex_type::scoped_lock l(my_mutex,false); in successor_count() 426 mutex_type::scoped_lock l(my_mutex, true); in register_successor() 434 mutex_type::scoped_lock l(my_mutex, true); in remove_successor() [all …]
|
/dports/devel/concurrentqueue/concurrentqueue-1.0.3-15-g0753496/benchmarks/tbb/internal/ |
H A D | _x86_eliding_mutex_impl.h | 69 x86_eliding_mutex* my_mutex; 73 scoped_lock() : my_mutex(NULL) {} in scoped_lock() 76 scoped_lock( x86_eliding_mutex& m ) : my_mutex(NULL) { acquire(m); } in scoped_lock() 80 __TBB_ASSERT( !my_mutex, "already holding a lock" ); in acquire() 82 my_mutex=&m; in acquire() 83 my_mutex->lock(); in acquire() 89 __TBB_ASSERT( !my_mutex, "already holding a lock" ); in try_acquire() 93 my_mutex = &m; in try_acquire() 102 my_mutex->unlock(); in release() 103 my_mutex = NULL; in release() [all …]
|
/dports/devel/tbb/oneTBB-2020.3/include/tbb/internal/ |
H A D | _x86_eliding_mutex_impl.h | 65 x86_eliding_mutex* my_mutex; 69 scoped_lock() : my_mutex(NULL) {} in scoped_lock() 72 scoped_lock( x86_eliding_mutex& m ) : my_mutex(NULL) { acquire(m); } in scoped_lock() 76 __TBB_ASSERT( !my_mutex, "already holding a lock" ); in acquire() 78 my_mutex=&m; in acquire() 79 my_mutex->lock(); in acquire() 85 __TBB_ASSERT( !my_mutex, "already holding a lock" ); in try_acquire() 89 my_mutex = &m; in try_acquire() 98 my_mutex->unlock(); in release() 99 my_mutex = NULL; in release() [all …]
|
H A D | _flow_graph_cache_impl.h | 36 typename mutex_type::scoped_lock lock( my_mutex ); in empty() 41 typename mutex_type::scoped_lock lock( my_mutex ); in add() 46 typename mutex_type::scoped_lock lock( my_mutex ); in remove() 67 typename mutex_type::scoped_lock lock( my_mutex ); in internal_add_built_predecessor() 72 typename mutex_type::scoped_lock lock( my_mutex ); in internal_delete_built_predecessor() 77 typename mutex_type::scoped_lock lock( my_mutex ); in copy_predecessors() 82 typename mutex_type::scoped_lock lock(my_mutex); in predecessor_count() 90 mutex_type my_mutex; variable 277 mutex_type my_mutex; variable 303 typename mutex_type::scoped_lock l(my_mutex, true); in internal_add_built_successor() [all …]
|
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/include/tbb/internal/ |
H A D | _x86_eliding_mutex_impl.h | 65 x86_eliding_mutex* my_mutex; 69 scoped_lock() : my_mutex(NULL) {} in scoped_lock() 72 scoped_lock( x86_eliding_mutex& m ) : my_mutex(NULL) { acquire(m); } in scoped_lock() 76 __TBB_ASSERT( !my_mutex, "already holding a lock" ); in acquire() 78 my_mutex=&m; in acquire() 79 my_mutex->lock(); in acquire() 85 __TBB_ASSERT( !my_mutex, "already holding a lock" ); in try_acquire() 89 my_mutex = &m; in try_acquire() 98 my_mutex->unlock(); in release() 99 my_mutex = NULL; in release() [all …]
|
H A D | _flow_graph_cache_impl.h | 36 typename mutex_type::scoped_lock lock( my_mutex ); in empty() 41 typename mutex_type::scoped_lock lock( my_mutex ); in add() 46 typename mutex_type::scoped_lock lock( my_mutex ); in remove() 67 typename mutex_type::scoped_lock lock( my_mutex ); in internal_add_built_predecessor() 72 typename mutex_type::scoped_lock lock( my_mutex ); in internal_delete_built_predecessor() 77 typename mutex_type::scoped_lock lock( my_mutex ); in copy_predecessors() 82 typename mutex_type::scoped_lock lock(my_mutex); in predecessor_count() 90 mutex_type my_mutex; variable 277 mutex_type my_mutex; variable 303 typename mutex_type::scoped_lock l(my_mutex, true); in internal_add_built_successor() [all …]
|
/dports/games/gtkradiant/GPL/GtkRadiant/tools/quake3/common/ |
H A D | mutex.c | 88 pthread_mutex_t *my_mutex; in MutexLock() local 92 my_mutex = (pthread_mutex_t *) m; in MutexLock() 93 pthread_mutex_lock (my_mutex); in MutexLock() 98 pthread_mutex_t *my_mutex; in MutexUnlock() local 102 my_mutex = (pthread_mutex_t *) m; in MutexUnlock() 103 pthread_mutex_unlock (my_mutex); in MutexUnlock() 108 pthread_mutex_t *my_mutex; in MutexAlloc() local 113 my_mutex = safe_malloc (sizeof(*my_mutex)); in MutexAlloc() 118 if (pthread_mutex_init (my_mutex, mattrib) == -1) in MutexAlloc() 120 return (void *) my_mutex; in MutexAlloc()
|
/dports/games/netradiant/netradiant-20150621-src/tools/quake3/common/ |
H A D | mutex.c | 87 pthread_mutex_t *my_mutex; in MutexLock() local 92 my_mutex = (pthread_mutex_t *) m; in MutexLock() 93 pthread_mutex_lock( my_mutex ); in MutexLock() 97 pthread_mutex_t *my_mutex; in MutexUnlock() local 102 my_mutex = (pthread_mutex_t *) m; in MutexUnlock() 103 pthread_mutex_unlock( my_mutex ); in MutexUnlock() 107 pthread_mutex_t *my_mutex; in MutexAlloc() local 113 my_mutex = safe_malloc( sizeof( *my_mutex ) ); in MutexAlloc() 120 if ( pthread_mutex_init( my_mutex, mattrib ) == -1 ) { in MutexAlloc() 123 return (void *) my_mutex; in MutexAlloc()
|
/dports/math/stanmath/math-4.2.0/lib/tbb_2020.3/src/tbb/ |
H A D | spin_mutex.cpp | 25 __TBB_ASSERT( !my_mutex, "already holding a lock on a spin_mutex" ); in internal_acquire() 28 my_mutex = &m; in internal_acquire() 33 __TBB_ASSERT( my_mutex, "release on spin_mutex::scoped_lock that is not holding a lock" ); in internal_release() 35 ITT_NOTIFY(sync_releasing, my_mutex); in internal_release() 36 __TBB_UnlockByte(my_mutex->flag); in internal_release() 37 my_mutex = NULL; in internal_release() 41 __TBB_ASSERT( !my_mutex, "already holding a lock on a spin_mutex" ); in internal_try_acquire() 44 my_mutex = &m; in internal_try_acquire()
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/bundled/tbb-2018_U2/src/tbb/ |
H A D | spin_mutex.cpp | 29 __TBB_ASSERT( !my_mutex, "already holding a lock on a spin_mutex" ); in internal_acquire() 32 my_mutex = &m; in internal_acquire() 37 __TBB_ASSERT( my_mutex, "release on spin_mutex::scoped_lock that is not holding a lock" ); in internal_release() 39 ITT_NOTIFY(sync_releasing, my_mutex); in internal_release() 40 __TBB_UnlockByte(my_mutex->flag); in internal_release() 41 my_mutex = NULL; in internal_release() 45 __TBB_ASSERT( !my_mutex, "already holding a lock on a spin_mutex" ); in internal_try_acquire() 48 my_mutex = &m; in internal_try_acquire()
|
/dports/devel/concurrentqueue/concurrentqueue-1.0.3-15-g0753496/benchmarks/tbb/ |
H A D | spin_mutex.cpp | 29 __TBB_ASSERT( !my_mutex, "already holding a lock on a spin_mutex" ); in internal_acquire() 32 my_mutex = &m; in internal_acquire() 37 __TBB_ASSERT( my_mutex, "release on spin_mutex::scoped_lock that is not holding a lock" ); in internal_release() 39 ITT_NOTIFY(sync_releasing, my_mutex); in internal_release() 40 __TBB_UnlockByte(my_mutex->flag); in internal_release() 41 my_mutex = NULL; in internal_release() 45 __TBB_ASSERT( !my_mutex, "already holding a lock on a spin_mutex" ); in internal_try_acquire() 48 my_mutex = &m; in internal_try_acquire()
|
H A D | spin_mutex.h | 57 spin_mutex* my_mutex; 78 scoped_lock() : my_mutex(NULL), my_unlock_value(0) {} in scoped_lock() 84 my_mutex=NULL; in scoped_lock() 87 my_mutex=&m; in scoped_lock() 97 my_mutex = &m; in acquire() 110 my_mutex = &m; in try_acquire() 120 __TBB_UnlockByte(my_mutex->flag); in release() 121 my_mutex = NULL; in release() 127 if( my_mutex ) { in ~scoped_lock() 131 __TBB_UnlockByte(my_mutex->flag); in ~scoped_lock() [all …]
|
/dports/devel/tbb/oneTBB-2020.3/src/tbb/ |
H A D | spin_mutex.cpp | 25 __TBB_ASSERT( !my_mutex, "already holding a lock on a spin_mutex" ); in internal_acquire() 28 my_mutex = &m; in internal_acquire() 33 __TBB_ASSERT( my_mutex, "release on spin_mutex::scoped_lock that is not holding a lock" ); in internal_release() 35 ITT_NOTIFY(sync_releasing, my_mutex); in internal_release() 36 __TBB_UnlockByte(my_mutex->flag); in internal_release() 37 my_mutex = NULL; in internal_release() 41 __TBB_ASSERT( !my_mutex, "already holding a lock on a spin_mutex" ); in internal_try_acquire() 44 my_mutex = &m; in internal_try_acquire()
|
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/src/tbb/ |
H A D | spin_mutex.cpp | 25 __TBB_ASSERT( !my_mutex, "already holding a lock on a spin_mutex" ); in internal_acquire() 28 my_mutex = &m; in internal_acquire() 33 __TBB_ASSERT( my_mutex, "release on spin_mutex::scoped_lock that is not holding a lock" ); in internal_release() 35 ITT_NOTIFY(sync_releasing, my_mutex); in internal_release() 36 __TBB_UnlockByte(my_mutex->flag); in internal_release() 37 my_mutex = NULL; in internal_release() 41 __TBB_ASSERT( !my_mutex, "already holding a lock on a spin_mutex" ); in internal_try_acquire() 44 my_mutex = &m; in internal_try_acquire()
|
/dports/math/stanmath/math-4.2.0/lib/tbb_2020.3/include/tbb/ |
H A D | spin_mutex.h | 56 spin_mutex* my_mutex; 77 scoped_lock() : my_mutex(NULL), my_unlock_value(0) {} in scoped_lock() 83 my_mutex=NULL; in scoped_lock() 86 my_mutex=&m; in scoped_lock() 96 my_mutex = &m; in acquire() 109 my_mutex = &m; in try_acquire() 119 __TBB_UnlockByte(my_mutex->flag); in release() 120 my_mutex = NULL; in release() 126 if( my_mutex ) { in ~scoped_lock() 130 __TBB_UnlockByte(my_mutex->flag); in ~scoped_lock() [all …]
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/bundled/tbb-2018_U2/include/tbb/ |
H A D | spin_mutex.h | 57 spin_mutex* my_mutex; 78 scoped_lock() : my_mutex(NULL), my_unlock_value(0) {} in scoped_lock() 84 my_mutex=NULL; in scoped_lock() 87 my_mutex=&m; in scoped_lock() 97 my_mutex = &m; in acquire() 110 my_mutex = &m; in try_acquire() 120 __TBB_UnlockByte(my_mutex->flag); in release() 121 my_mutex = NULL; in release() 127 if( my_mutex ) { in ~scoped_lock() 131 __TBB_UnlockByte(my_mutex->flag); in ~scoped_lock() [all …]
|
/dports/devel/tbb/oneTBB-2020.3/include/tbb/ |
H A D | spin_mutex.h | 56 spin_mutex* my_mutex; 77 scoped_lock() : my_mutex(NULL), my_unlock_value(0) {} in scoped_lock() 83 my_mutex=NULL; in scoped_lock() 86 my_mutex=&m; in scoped_lock() 96 my_mutex = &m; in acquire() 109 my_mutex = &m; in try_acquire() 119 __TBB_UnlockByte(my_mutex->flag); in release() 120 my_mutex = NULL; in release() 126 if( my_mutex ) { in ~scoped_lock() 130 __TBB_UnlockByte(my_mutex->flag); in ~scoped_lock() [all …]
|
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/include/tbb/ |
H A D | spin_mutex.h | 56 spin_mutex* my_mutex; 77 scoped_lock() : my_mutex(NULL), my_unlock_value(0) {} in scoped_lock() 83 my_mutex=NULL; in scoped_lock() 86 my_mutex=&m; in scoped_lock() 96 my_mutex = &m; in acquire() 109 my_mutex = &m; in try_acquire() 119 __TBB_UnlockByte(my_mutex->flag); in release() 120 my_mutex = NULL; in release() 126 if( my_mutex ) { in ~scoped_lock() 130 __TBB_UnlockByte(my_mutex->flag); in ~scoped_lock() [all …]
|
/dports/games/uhexen2/hexen2source-1.5.9/utils/common/ |
H A D | threads.c | 169 static HANDLE my_mutex; variable 198 if (my_mutex == NULL) in InitThreads() 211 ReleaseMutex (my_mutex); in ThreadUnlock() 349 static pthread_mutex_t *my_mutex; variable 379 my_mutex = (pthread_mutex_t *) SafeMalloc (sizeof(*my_mutex)); in InitThreads() 391 pthread_mutex_lock (my_mutex); in ThreadLock() 397 pthread_mutex_unlock (my_mutex); in ThreadUnlock() 446 static pthread_mutex_t *my_mutex; variable 476 my_mutex = (pthread_mutex_t *) SafeMalloc (sizeof (*my_mutex)); in InitThreads() 486 pthread_mutex_lock (my_mutex); in ThreadLock() [all …]
|
/dports/devel/onetbb/oneTBB-2021.4.0/test/conformance/ |
H A D | conformance_mutex.h | 236 mutex_type* my_mutex; variable 249 my_mutex = &m; in acquire() 254 my_mutex = &m; in try_acquire() 263 my_mutex->my_iso_mutex.unlock(); in release() 264 my_mutex = NULL; in release() 273 my_mutex = NULL; in release() 283 my_mutex = &m; in acquire() 288 my_mutex = &m; in try_acquire() 299 my_mutex->my_iso_mutex.lock(); in upgrade_to_writer() 311 if (my_mutex) in ~scoped_lock() [all …]
|
/dports/audio/espeak/espeak-1.48.04-source/src/ |
H A D | fifo.cpp | 50 static pthread_mutex_t my_mutex; variable 113 int a_status = pthread_mutex_lock(&my_mutex); in fifo_add_command() 121 a_status = pthread_mutex_unlock(&my_mutex); in fifo_add_command() 154 int a_status = pthread_mutex_lock(&my_mutex); in fifo_add_commands() 172 a_status = pthread_mutex_unlock(&my_mutex); in fifo_add_commands() 206 int a_status = pthread_mutex_lock(&my_mutex); in fifo_stop() 220 a_status = pthread_mutex_unlock(&my_mutex); in fifo_stop() 345 int a_status = pthread_mutex_lock(&my_mutex); in close_stream() 352 a_status = pthread_mutex_unlock(&my_mutex); in close_stream() 421 int a_status = pthread_mutex_lock(&my_mutex); in say_thread() [all …]
|