Home
last modified time | relevance | path

Searched refs:sem_t (Results 201 - 225 of 272) sorted by relevance

1234567891011

/third_party/musl/src/mq/
H A Dmq_notify.c15 sem_t sem;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/
H A D2-2.c95 static sem_t sem_sync;
/third_party/ltp/testcases/open_posix_testsuite/functional/semaphores/
H A Dsem_readerwriter.c31 static sem_t r_lock, w_lock;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/
H A D5-1.c90 static sem_t semsig, semstart;
H A D4-1.c90 static sem_t sem;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
H A D16-1.c85 static sem_t sem;
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/sem_getvalue/
H A Dstress.c119 sem_t unnamed, *named; in main()
/third_party/musl/libc-test/src/functional/
H A Dpthread_cancel-points.c17 static sem_t sem_seq, sem_test;
H A Dpthread_mutex_pi.c34 sem_t s; in test_relock()
H A Dpthread_mutex.c34 sem_t s; in test_relock()
/third_party/rust/crates/libc/src/unix/linux_like/linux/musl/b64/
H A Dmod.rs120 pub struct sem_t { structure names
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/
H A Dhardware_disable_test.c28 sem_t *sem;
/third_party/NuttX/drivers/pipes/
H A Dpipe.c81 static sem_t g_pipesem = {NULL};
H A Dpipe_common.c68 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 Dfs_devsyslog.c92 sem_t sl_sem; /* Enforces mutually exclusive access */
/third_party/NuttX/fs/vfs/include/
H A Dfile.h112 sem_t fl_sem; /* Manage access to the file list */
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/
H A D1-2.c92 static sem_t semA, semB;
H A D3-2.c98 static sem_t semA, semB;
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/
H A Dposix_pthread_test.cpp61 sem_t g_pthreadSem1;
62 sem_t g_pthreadSem2;
/third_party/python/Modules/_multiprocessing/
H A Dsemaphore.c221 /* 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 Dmod.rs1322 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 Dlibc_pthread.cpp448 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 Dmod.rs69 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 Dmod.rs858 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 Dset_memory_region_test.c41 static sem_t vcpu_ready;

Completed in 34 milliseconds

1234567891011