Home
last modified time | relevance | path

Searched refs:count_lock (Results 1 – 25 of 69) sorted by relevance

123

/dports/devel/sdl20/SDL2-2.0.18/src/thread/generic/
H A DSDL_syssem.c80 SDL_mutex *count_lock; member
97 sem->count_lock = SDL_CreateMutex(); in SDL_CreateSemaphore()
120 if (sem->count_lock) { in SDL_DestroySemaphore()
139 SDL_LockMutex(sem->count_lock); in SDL_SemTryWait()
144 SDL_UnlockMutex(sem->count_lock); in SDL_SemTryWait()
163 SDL_LockMutex(sem->count_lock); in SDL_SemWaitTimeout()
174 SDL_UnlockMutex(sem->count_lock); in SDL_SemWaitTimeout()
192 SDL_LockMutex(sem->count_lock); in SDL_SemValue()
194 SDL_UnlockMutex(sem->count_lock); in SDL_SemValue()
206 SDL_LockMutex(sem->count_lock); in SDL_SemPost()
[all …]
/dports/devel/sdl12/SDL-1.2.15/src/thread/generic/
H A DSDL_syssem.c79 SDL_mutex *count_lock; member
117 if ( sem->count_lock ) { in SDL_DestroySemaphore()
118 SDL_mutexP(sem->count_lock); in SDL_DestroySemaphore()
119 SDL_mutexV(sem->count_lock); in SDL_DestroySemaphore()
136 SDL_LockMutex(sem->count_lock); in SDL_SemTryWait()
141 SDL_UnlockMutex(sem->count_lock); in SDL_SemTryWait()
160 SDL_LockMutex(sem->count_lock); in SDL_SemWaitTimeout()
171 SDL_UnlockMutex(sem->count_lock); in SDL_SemWaitTimeout()
187 SDL_LockMutex(sem->count_lock); in SDL_SemValue()
201 SDL_LockMutex(sem->count_lock); in SDL_SemPost()
[all …]
/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/src/thread/generic/
H A DSDL_syssem.c80 SDL_mutex *count_lock; member
97 sem->count_lock = SDL_CreateMutex(); in SDL_CreateSemaphore()
120 if (sem->count_lock) { in SDL_DestroySemaphore()
139 SDL_LockMutex(sem->count_lock); in SDL_SemTryWait()
144 SDL_UnlockMutex(sem->count_lock); in SDL_SemTryWait()
163 SDL_LockMutex(sem->count_lock); in SDL_SemWaitTimeout()
174 SDL_UnlockMutex(sem->count_lock); in SDL_SemWaitTimeout()
192 SDL_LockMutex(sem->count_lock); in SDL_SemValue()
194 SDL_UnlockMutex(sem->count_lock); in SDL_SemValue()
206 SDL_LockMutex(sem->count_lock); in SDL_SemPost()
[all …]
/dports/emulators/mame/mame-mame0226/3rdparty/SDL2/src/thread/generic/
H A DSDL_syssem.c80 SDL_mutex *count_lock; member
97 sem->count_lock = SDL_CreateMutex(); in SDL_CreateSemaphore()
120 if (sem->count_lock) { in SDL_DestroySemaphore()
139 SDL_LockMutex(sem->count_lock); in SDL_SemTryWait()
144 SDL_UnlockMutex(sem->count_lock); in SDL_SemTryWait()
163 SDL_LockMutex(sem->count_lock); in SDL_SemWaitTimeout()
174 SDL_UnlockMutex(sem->count_lock); in SDL_SemWaitTimeout()
192 SDL_LockMutex(sem->count_lock); in SDL_SemValue()
194 SDL_UnlockMutex(sem->count_lock); in SDL_SemValue()
206 SDL_LockMutex(sem->count_lock); in SDL_SemPost()
[all …]
/dports/games/warmux/warmux-11.04/build/android/jni/sdl/src/thread/generic/
H A DSDL_syssem.c79 SDL_mutex *count_lock; member
117 if ( sem->count_lock ) { in SDL_DestroySemaphore()
118 SDL_mutexP(sem->count_lock); in SDL_DestroySemaphore()
119 SDL_mutexV(sem->count_lock); in SDL_DestroySemaphore()
136 SDL_LockMutex(sem->count_lock); in SDL_SemTryWait()
141 SDL_UnlockMutex(sem->count_lock); in SDL_SemTryWait()
160 SDL_LockMutex(sem->count_lock); in SDL_SemWaitTimeout()
171 SDL_UnlockMutex(sem->count_lock); in SDL_SemWaitTimeout()
187 SDL_LockMutex(sem->count_lock); in SDL_SemValue()
201 SDL_LockMutex(sem->count_lock); in SDL_SemPost()
[all …]
/dports/graphics/milton/milton-1.9.1/third_party/SDL2-2.0.8/src/thread/generic/
H A DSDL_syssem.c80 SDL_mutex *count_lock; member
97 sem->count_lock = SDL_CreateMutex(); in SDL_CreateSemaphore()
120 if (sem->count_lock) { in SDL_DestroySemaphore()
139 SDL_LockMutex(sem->count_lock); in SDL_SemTryWait()
144 SDL_UnlockMutex(sem->count_lock); in SDL_SemTryWait()
163 SDL_LockMutex(sem->count_lock); in SDL_SemWaitTimeout()
174 SDL_UnlockMutex(sem->count_lock); in SDL_SemWaitTimeout()
192 SDL_LockMutex(sem->count_lock); in SDL_SemValue()
194 SDL_UnlockMutex(sem->count_lock); in SDL_SemValue()
206 SDL_LockMutex(sem->count_lock); in SDL_SemPost()
[all …]
/dports/x11/controllermap/SDL2-2.0.18/src/thread/generic/
H A DSDL_syssem.c80 SDL_mutex *count_lock; member
97 sem->count_lock = SDL_CreateMutex(); in SDL_CreateSemaphore()
120 if (sem->count_lock) { in SDL_DestroySemaphore()
139 SDL_LockMutex(sem->count_lock); in SDL_SemTryWait()
144 SDL_UnlockMutex(sem->count_lock); in SDL_SemTryWait()
163 SDL_LockMutex(sem->count_lock); in SDL_SemWaitTimeout()
174 SDL_UnlockMutex(sem->count_lock); in SDL_SemWaitTimeout()
192 SDL_LockMutex(sem->count_lock); in SDL_SemValue()
194 SDL_UnlockMutex(sem->count_lock); in SDL_SemValue()
206 SDL_LockMutex(sem->count_lock); in SDL_SemPost()
[all …]
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/SDL/src/thread/generic/
H A DSDL_syssem.c80 SDL_mutex *count_lock; member
97 sem->count_lock = SDL_CreateMutex(); in SDL_CreateSemaphore()
120 if (sem->count_lock) { in SDL_DestroySemaphore()
139 SDL_LockMutex(sem->count_lock); in SDL_SemTryWait()
144 SDL_UnlockMutex(sem->count_lock); in SDL_SemTryWait()
163 SDL_LockMutex(sem->count_lock); in SDL_SemWaitTimeout()
174 SDL_UnlockMutex(sem->count_lock); in SDL_SemWaitTimeout()
192 SDL_LockMutex(sem->count_lock); in SDL_SemValue()
194 SDL_UnlockMutex(sem->count_lock); in SDL_SemValue()
206 SDL_LockMutex(sem->count_lock); in SDL_SemPost()
[all …]
/dports/sysutils/fusefs-sshfs/sshfs-sshfs-3.7.2/compat/
H A Ddarwin_compat.c80 pthread_mutex_lock(&sem->__data.local.count_lock); in darwin_sem_destroy()
89 pthread_mutex_unlock(&sem->__data.local.count_lock); in darwin_sem_destroy()
103 pthread_mutex_lock(&sem->__data.local.count_lock); in darwin_sem_getvalue()
112 pthread_mutex_unlock(&sem->__data.local.count_lock); in darwin_sem_getvalue()
123 pthread_mutex_lock(&sem->__data.local.count_lock); in darwin_sem_post()
156 &sem->__data.local.count_lock); in darwin_sem_timedwait()
158 pthread_mutex_lock(&sem->__data.local.count_lock); in darwin_sem_timedwait()
192 pthread_mutex_lock(&sem->__data.local.count_lock); in darwin_sem_trywait()
216 &sem->__data.local.count_lock); in darwin_sem_wait()
218 pthread_mutex_lock(&sem->__data.local.count_lock); in darwin_sem_wait()
[all …]
/dports/devel/py-llfuse/llfuse-1.3.8/src/
H A Ddarwin_compat.c80 pthread_mutex_lock(&sem->__data.local.count_lock); in darwin_sem_destroy()
89 pthread_mutex_unlock(&sem->__data.local.count_lock); in darwin_sem_destroy()
103 pthread_mutex_lock(&sem->__data.local.count_lock); in darwin_sem_getvalue()
112 pthread_mutex_unlock(&sem->__data.local.count_lock); in darwin_sem_getvalue()
123 pthread_mutex_lock(&sem->__data.local.count_lock); in darwin_sem_post()
156 &sem->__data.local.count_lock); in darwin_sem_timedwait()
158 pthread_mutex_lock(&sem->__data.local.count_lock); in darwin_sem_timedwait()
192 pthread_mutex_lock(&sem->__data.local.count_lock); in darwin_sem_trywait()
217 &sem->__data.local.count_lock); in darwin_sem_wait()
219 pthread_mutex_lock(&sem->__data.local.count_lock); in darwin_sem_wait()
[all …]
/dports/net-im/libnice/libnice-0.1.18/tests/
H A Dtest-io-stream-closing-read.c51 GMutex count_lock; variable
62 g_mutex_lock (&count_lock); in read_thread_cb()
65 g_mutex_unlock (&count_lock); in read_thread_cb()
95 g_mutex_lock (&count_lock); in write_thread_cb()
100 g_mutex_unlock (&count_lock); in write_thread_cb()
105 g_cond_wait (&count_cond, &count_lock); in write_thread_cb()
106 g_mutex_unlock (&count_lock); in write_thread_cb()
H A Dtest-io-stream-closing-write.c51 GMutex count_lock; variable
67 g_mutex_lock (&count_lock); in read_thread_cb()
71 g_mutex_unlock (&count_lock); in read_thread_cb()
76 g_cond_wait (&count_cond, &count_lock); in read_thread_cb()
77 g_mutex_unlock (&count_lock); in read_thread_cb()
94 g_mutex_lock (&count_lock); in write_thread_cb()
97 g_mutex_unlock (&count_lock); in write_thread_cb()
/dports/net-im/libnice-gst1/libnice-0.1.18/tests/
H A Dtest-io-stream-closing-read.c51 GMutex count_lock; variable
62 g_mutex_lock (&count_lock); in read_thread_cb()
65 g_mutex_unlock (&count_lock); in read_thread_cb()
95 g_mutex_lock (&count_lock); in write_thread_cb()
100 g_mutex_unlock (&count_lock); in write_thread_cb()
105 g_cond_wait (&count_cond, &count_lock); in write_thread_cb()
106 g_mutex_unlock (&count_lock); in write_thread_cb()
H A Dtest-io-stream-closing-write.c51 GMutex count_lock; variable
67 g_mutex_lock (&count_lock); in read_thread_cb()
71 g_mutex_unlock (&count_lock); in read_thread_cb()
76 g_cond_wait (&count_cond, &count_lock); in read_thread_cb()
77 g_mutex_unlock (&count_lock); in read_thread_cb()
94 g_mutex_lock (&count_lock); in write_thread_cb()
97 g_mutex_unlock (&count_lock); in write_thread_cb()
/dports/devel/valgrind/valgrind-dragonfly-dragonfly/none/tests/
H A Dpth_cvsimple.c26 pthread_mutex_t count_lock=PTHREAD_MUTEX_INITIALIZER; variable
34 pthread_mutex_lock(&count_lock); in inc_count()
41 pthread_mutex_unlock(&count_lock); in inc_count()
49 pthread_mutex_lock(&count_lock); in watch_count()
52 pthread_cond_wait(&count_hit_threshold, &count_lock); in watch_count()
56 pthread_mutex_unlock(&count_lock); in watch_count()
/dports/devel/valgrind-lts/valgrind-dragonfly-dragonfly/none/tests/
H A Dpth_cvsimple.c26 pthread_mutex_t count_lock=PTHREAD_MUTEX_INITIALIZER; variable
34 pthread_mutex_lock(&count_lock); in inc_count()
41 pthread_mutex_unlock(&count_lock); in inc_count()
49 pthread_mutex_lock(&count_lock); in watch_count()
52 pthread_cond_wait(&count_hit_threshold, &count_lock); in watch_count()
56 pthread_mutex_unlock(&count_lock); in watch_count()
/dports/lang/python-legacy/Python-2.7.18/Python/
H A Dthread_sgi.h15 static ulock_t count_lock; /* protection for some variables */ variable
66 if ((count_lock = usnewlock(shared_arena)) == NULL) in PyThread__init_thread()
68 (void) usinitlock(count_lock); in PyThread__init_thread()
124 switch (ussetlock(count_lock)) { in PyThread_start_new_thread()
165 if (usunsetlock(count_lock) < 0) in PyThread_start_new_thread()
180 if (ussetlock(count_lock) < 0) in PyThread_exit_thread()
194 if (usunsetlock(count_lock) < 0) in PyThread_exit_thread()
199 if (ussetlock(count_lock) < 0) in PyThread_exit_thread()
209 if (usunsetlock(count_lock) < 0) in PyThread_exit_thread()
/dports/lang/python27/Python-2.7.18/Python/
H A Dthread_sgi.h15 static ulock_t count_lock; /* protection for some variables */ variable
66 if ((count_lock = usnewlock(shared_arena)) == NULL) in PyThread__init_thread()
68 (void) usinitlock(count_lock); in PyThread__init_thread()
124 switch (ussetlock(count_lock)) { in PyThread_start_new_thread()
165 if (usunsetlock(count_lock) < 0) in PyThread_start_new_thread()
180 if (ussetlock(count_lock) < 0) in PyThread_exit_thread()
194 if (usunsetlock(count_lock) < 0) in PyThread_exit_thread()
199 if (ussetlock(count_lock) < 0) in PyThread_exit_thread()
209 if (usunsetlock(count_lock) < 0) in PyThread_exit_thread()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Dthread_sgi.h15 static ulock_t count_lock; /* protection for some variables */ variable
66 if ((count_lock = usnewlock(shared_arena)) == NULL) in PyThread__init_thread()
68 (void) usinitlock(count_lock); in PyThread__init_thread()
124 switch (ussetlock(count_lock)) { in PyThread_start_new_thread()
165 if (usunsetlock(count_lock) < 0) in PyThread_start_new_thread()
180 if (ussetlock(count_lock) < 0) in PyThread_exit_thread()
194 if (usunsetlock(count_lock) < 0) in PyThread_exit_thread()
199 if (ussetlock(count_lock) < 0) in PyThread_exit_thread()
209 if (usunsetlock(count_lock) < 0) in PyThread_exit_thread()
/dports/graphics/rawstudio/rawstudio-2.0/librawstudio/
H A Drs-io.c27 static GStaticMutex count_lock = G_STATIC_MUTEX_INIT; variable
56 g_static_mutex_lock(&count_lock); in queue_worker()
60 g_static_mutex_unlock(&count_lock); in queue_worker()
67 g_static_mutex_lock(&count_lock); in queue_worker()
69 g_static_mutex_unlock(&count_lock); in queue_worker()
323 g_static_mutex_lock(&count_lock); in rs_io_get_jobs_left()
325 g_static_mutex_unlock(&count_lock); in rs_io_get_jobs_left()
/dports/cad/scotch/aster-full-src-14.6.0/
H A Dcheck_popen_thread.py12 count_lock = threading.Lock() variable
19 global count, count_lock
24 count_lock.acquire()
26 count_lock.release()
/dports/french/med/aster-full-src-14.6.0/
H A Dcheck_popen_thread.py12 count_lock = threading.Lock() variable
19 global count, count_lock
24 count_lock.acquire()
26 count_lock.release()
/dports/math/mumps/aster-full-src-14.6.0/
H A Dcheck_popen_thread.py12 count_lock = threading.Lock() variable
19 global count, count_lock
24 count_lock.acquire()
26 count_lock.release()
/dports/cad/astk-serveur/aster-full-src-14.6.0/
H A Dcheck_popen_thread.py12 count_lock = threading.Lock() variable
19 global count, count_lock
24 count_lock.acquire()
26 count_lock.release()
/dports/cad/astk-client/aster-full-src-14.6.0/
H A Dcheck_popen_thread.py12 count_lock = threading.Lock() variable
19 global count, count_lock
24 count_lock.acquire()
26 count_lock.release()

123