/third_party/musl/src/mq/ |
H A D | mq_notify.c | 15 sem_t sem;
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/ |
H A D | 2-2.c | 95 static sem_t sem_sync;
|
/third_party/ltp/testcases/open_posix_testsuite/functional/semaphores/ |
H A D | sem_readerwriter.c | 31 static sem_t r_lock, w_lock;
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/ |
H A D | 5-1.c | 90 static sem_t semsig, semstart;
|
H A D | 4-1.c | 90 static sem_t sem;
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
H A D | 16-1.c | 85 static sem_t sem;
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/sem_getvalue/ |
H A D | stress.c | 119 sem_t unnamed, *named; in main()
|
/third_party/musl/libc-test/src/functional/ |
H A D | pthread_cancel-points.c | 17 static sem_t sem_seq, sem_test;
|
H A D | pthread_mutex_pi.c | 34 sem_t s; in test_relock()
|
H A D | pthread_mutex.c | 34 sem_t s; in test_relock()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/musl/b64/ |
H A D | mod.rs | 120 pub struct sem_t { structure names
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/ |
H A D | hardware_disable_test.c | 28 sem_t *sem;
|
/third_party/NuttX/drivers/pipes/ |
H A D | pipe.c | 81 static sem_t g_pipesem = {NULL};
|
H A D | pipe_common.c | 68 static void pipecommon_semtake(sem_t *sem); 78 static void pipecommon_semtake(sem_t *sem) in pipecommon_semtake()
|
/third_party/NuttX/fs/driver/ |
H A D | fs_devsyslog.c | 92 sem_t sl_sem; /* Enforces mutually exclusive access */
|
/third_party/NuttX/fs/vfs/include/ |
H A D | file.h | 112 sem_t fl_sem; /* Manage access to the file list */
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/ |
H A D | 1-2.c | 92 static sem_t semA, semB;
|
H A D | 3-2.c | 98 static sem_t semA, semB;
|
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/ |
H A D | posix_pthread_test.cpp | 61 sem_t g_pthreadSem1; 62 sem_t g_pthreadSem2;
|
/third_party/python/Modules/_multiprocessing/ |
H A D | semaphore.c | 221 /* OS X 10.4 defines SEM_FAILED as -1 instead of (sem_t *)-1; this gives 225 # define SEM_FAILED ((sem_t *)-1) 236 sem_timedwait_save(sem_t *sem, struct timespec *deadline, PyThreadState *_save) in sem_timedwait_save()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/ |
H A D | mod.rs | 1322 pub const SEM_FAILED: *mut sem_t = 0 as *mut sem_t; 1449 pub fn sem_destroy(sem: *mut sem_t) -> ::c_int; in sem_destroy() 1450 pub fn sem_init(sem: *mut sem_t, pshared: ::c_int, value: ::c_uint) -> ::c_int; in sem_init() 1645 pub fn sem_getvalue(sem: *mut sem_t, sval: *mut ::c_int) -> ::c_int; in sem_getvalue() 1646 pub fn sem_timedwait(sem: *mut sem_t, abstime: *const ::timespec) -> ::c_int; in sem_timedwait()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_pthread.cpp | 448 sem_t semp; in Bm_function_Sem_timewait() 461 sem_t semp; in Bm_function_Sem_post_wait()
|
/third_party/rust/crates/libc/src/unix/nto/ |
H A D | mod.rs | 69 pub type sem_t = sync_t; types 1370 pub const SEM_FAILED: *mut ::sem_t = 0xFFFFFFFFFFFFFFFF as *mut sem_t; 2655 pub fn sem_destroy(sem: *mut sem_t) -> ::c_int; in sem_destroy() 2656 pub fn sem_init(sem: *mut sem_t, pshared: ::c_int, value: ::c_uint) -> ::c_int; in sem_init() 2824 pub fn sem_timedwait(sem: *mut sem_t, abstime: *const ::timespec) -> ::c_int; in sem_timedwait() 2825 pub fn sem_getvalue(sem: *mut sem_t, sval: *mut ::c_int) -> ::c_int; in sem_getvalue() 2899 pub fn sem_close(sem: *mut sem_t) -> ::c_int; in sem_close() 2910 pub fn sem_open(name: *const ::c_char, oflag: ::c_int, ...) -> *mut sem_t; in sem_open()
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 858 pub struct sem_t { structure names 2458 pub const SEM_FAILED: *mut ::sem_t = 0 as *mut sem_t; 3795 pub fn sem_destroy(sem: *mut sem_t) -> ::c_int; in sem_destroy() 3796 pub fn sem_wait(sem: *mut sem_t) -> ::c_int; in sem_wait() 3797 pub fn sem_trywait(sem: *mut sem_t) -> ::c_int; in sem_trywait() 3798 pub fn sem_post(sem: *mut sem_t) -> ::c_int; in sem_post() 3799 pub fn sem_init(sem: *mut sem_t, pshared: ::c_int, value: ::c_uint) -> ::c_int; in sem_init() 4116 pub fn sem_timedwait(sem: *mut sem_t, abstime: *const ::timespec) -> ::c_int; in sem_timedwait() 4117 pub fn sem_getvalue(sem: *mut sem_t, sva in sem_timedwait() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/ |
H A D | set_memory_region_test.c | 41 static sem_t vcpu_ready;
|