Home
last modified time | relevance | path

Searched refs:sem_t (Results 176 - 200 of 215) sorted by relevance

123456789

/third_party/musl/libc-test/src/functional/
H A Dpthread_mutex.c34 sem_t s; in test_relock()
/third_party/NuttX/drivers/pipes/
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/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...]
/third_party/ffmpeg/libavdevice/
H A Djack.c47 sem_t packet_count;
/third_party/libuv/include/uv/
H A Dunix.h104 # define UV_PLATFORM_SEM_T sem_t
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/
H A Dthreads_scenarii.c44 sem_t sem; /* This semaphore is used to signal the end of the detached threads execution */
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/
H A Dthreads_scenarii.c44 sem_t sem; /* This semaphore is used to signal the end of the detached threads execution */
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/
H A Dthreads_scenarii.c87 sem_t sem;
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/
H A Dthreads_scenarii.c44 sem_t sem; /* This semaphore is used to signal the end of the detached threads execution */
/third_party/node/deps/uv/include/uv/
H A Dunix.h105 # define UV_PLATFORM_SEM_T sem_t
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/x86_64/
H A Dmod.rs268 pub struct sem_t { structure names
/third_party/rust/crates/libc/src/unix/hermit/
H A Dmod.rs429 pub struct sem_t { structure names
965 pub fn sem_destroy(sem: *mut sem_t) -> ::c_int; in sem_destroy()
966 pub fn sem_init(sem: *mut sem_t, pshared: ::c_int, value: ::c_uint) -> ::c_int; in sem_init()
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs132 pub struct sem_t { structure names
1595 pub const SEM_FAILED: *mut sem_t = 0 as *mut sem_t;
3253 pub fn sem_timedwait(sem: *mut sem_t, abstime: *const ::timespec) -> ::c_int; in sem_timedwait()
3254 pub fn sem_getvalue(sem: *mut sem_t, sval: *mut ::c_int) -> ::c_int; in sem_getvalue()
3360 pub fn sem_close(sem: *mut sem_t) -> ::c_int; in sem_close()
3369 pub fn sem_open(name: *const ::c_char, oflag: ::c_int, ...) -> *mut sem_t; in sem_open()
/third_party/rust/crates/libc/src/unix/solarish/
H A Dmod.rs362 pub struct sem_t { structure names
2708 pub fn sem_destroy(sem: *mut sem_t) -> ::c_int; in sem_destroy()
2709 pub fn sem_init(sem: *mut sem_t, pshared: ::c_int, value: ::c_uint) -> ::c_int; in sem_init()
2799 pub fn sem_timedwait(sem: *mut sem_t, abstime: *const ::timespec) -> ::c_int; in sem_timedwait()
2800 pub fn sem_getvalue(sem: *mut sem_t, sval: *mut ::c_int) -> ::c_int; in sem_getvalue()
2947 pub fn sem_close(sem: *mut sem_t) -> ::c_int; in sem_close()
2986 pub fn sem_open(name: *const ::c_char, oflag: ::c_int, ...) -> *mut sem_t; in sem_open()
/third_party/rust/crates/libc/src/unix/haiku/
H A Dmod.rs351 pub struct sem_t { structure names
1647 pub fn sem_destroy(sem: *mut sem_t) -> ::c_int; in sem_destroy()
1648 pub fn sem_init(sem: *mut sem_t, pshared: ::c_int, value: ::c_uint) -> ::c_int; in sem_init()
1765 pub fn sem_close(sem: *mut sem_t) -> ::c_int; in sem_close()
1775 pub fn sem_open(name: *const ::c_char, oflag: ::c_int, ...) -> *mut sem_t; in sem_open()
/third_party/musl/porting/linux/user/src/aio/
H A Daio.c71 sem_t sem;
/third_party/musl/porting/liteos_a/user/src/aio/
H A Daio.c72 sem_t sem;
/third_party/musl/src/aio/
H A Daio.c72 sem_t sem;
/third_party/libfuse/lib/
H A Dfuse_loop_mt.c59 sem_t finish;
/third_party/ltp/testcases/kernel/fs/read_all/
H A Dread_all.c59 sem_t sem;
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/
H A Dstress.c121 sem_t semsig; /* Semaphore for synchronizing the signal handler */

Completed in 63 milliseconds

123456789