Searched refs:mut (Results 1 - 10 of 10) sorted by relevance

/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.threads/
H A Dpthread_cond_wait.c28 cond_wait (pthread_cond_t *cond, pthread_mutex_t *mut) argument
30 pthread_mutex_lock(mut);
31 pthread_cond_wait (cond, mut);
32 pthread_mutex_unlock (mut);
38 pthread_mutex_t mut; local
41 pthread_mutex_init (&mut, NULL);
46 cond_wait (&cond, &mut);
H A Dstep.c23 pthread_mutex_t mut; variable
50 if (pthread_mutex_init (&mut, mut_attr) == -1)
127 if (pthread_mutex_lock (&mut) == -1)
135 if (pthread_cond_wait (&cv_a, &mut) == -1)
150 if (pthread_mutex_unlock (&mut) == -1)
171 if (pthread_mutex_lock (&mut) == -1)
179 if (pthread_cond_wait (&cv_b, &mut) == -1)
194 if (pthread_mutex_unlock (&mut) == -1)
/openbsd-current/gnu/llvm/libcxx/src/
H A Dmutex.cpp204 static constinit __libcpp_mutex_t mut = _LIBCPP_MUTEX_INITIALIZER; variable
231 __libcpp_mutex_lock(&mut);
233 __libcpp_condvar_wait(&cv, &mut);
241 __libcpp_mutex_unlock(&mut);
243 __libcpp_mutex_lock(&mut);
246 __libcpp_mutex_unlock(&mut);
252 __libcpp_mutex_lock(&mut);
254 __libcpp_mutex_unlock(&mut);
261 __libcpp_mutex_unlock(&mut);
H A Ddebug.cpp51 mut() function in namespace:__anon235
121 RLock _(mut());
132 WLock _(mut());
155 WLock _(mut());
194 WLock _(mut());
227 WLock _(mut());
253 mut().lock();
258 mut().unlock();
267 mut().unlock();
277 mut()
[all...]
/openbsd-current/libexec/ld.so/
H A Dlibrary.c101 struct range_vector imut, mut; local
154 _dl_memset(&mut, 0, sizeof mut);
311 _dl_push_range_size(&mut, relro_addr, relro_size);
315 _dl_push_range_size(&mut, phdp->p_vaddr + loff,
351 _dl_bcopy(&mut, &object->mut, sizeof mut);
H A Dlibrary_mquery.c104 struct range_vector imut, mut; local
242 _dl_memset(&mut, 0, sizeof mut);
322 _dl_push_range_size(&mut, relro_addr, relro_size);
325 _dl_push_range_size(&mut, phdp->p_vaddr + LOFF,
360 _dl_bcopy(&mut, &object->mut, sizeof mut);
H A Dresolve.h247 struct range_vector mut; member in struct:elf_object
H A Dloader.c1098 * interval difference of imut and mut. Interval splitting necessitates
1117 for (i = 0; i < object->mut.count; i++) {
1118 m = &object->mut.slice[i];
/openbsd-current/gnu/usr.bin/perl/dist/threads-shared/
H A Dshared.xs658 Perl_sharedsv_cond_timedwait(perl_cond *cond, perl_mutex *mut, double abs)
667 MUTEX_UNLOCK(mut);
677 MUTEX_LOCK(mut);
689 MUTEX_UNLOCK(mut);
694 MUTEX_LOCK(mut);
705 /* warning: calling function 'pthread_cond_timedwait' requires holding mutex 'mut' exclusively [-Wthread-safety-analysis] */
706 switch (pthread_cond_timedwait(cond, mut, &ts)) {
/openbsd-current/gnu/llvm/libcxxabi/src/
H A Dcxa_guard_impl.h299 bool wait(LibcppMutex& mut) { return std::__libcpp_condvar_wait(&cond, &mut.mutex); } argument

Completed in 131 milliseconds