Searched refs:poll (Results 26 - 50 of 324) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/apr/include/arch/unix/
H A Dapr_arch_poll_private.h21 #include <poll.h>
25 #include <sys/poll.h>
166 apr_status_t (*poll)(apr_pollset_t *, apr_interval_time_t, apr_int32_t *, const apr_pollfd_t **); member in struct:apr_pollset_provider_t
175 apr_status_t (*poll)(apr_pollcb_t *, apr_interval_time_t, apr_pollcb_cb_t, void *); member in struct:apr_pollcb_provider_t
/freebsd-11-stable/tools/regression/netinet/tcpfullwindowrst/
H A Dtcpfullwindowrsttest.c35 #include <poll.h>
106 if (poll(pfd, 2, 1000) == 0) {
/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/write/
H A Dt_ttypty.c41 #include <poll.h>
81 RL(poll(&pfd, 1, INFTIM));
82 (void)printf("tty: returned from poll - %d\n", pfd.revents);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_sleep.c37 #include <poll.h>
221 ATF_TC(poll); variable
222 ATF_TC_HEAD(poll, tc)
225 atf_tc_set_md_var(tc, "descr", "Test poll(2) timing");
229 ATF_TC_BODY(poll, tc)
342 ATF_TP_ADD_TC(tp, poll);
/freebsd-11-stable/contrib/netbsd-tests/net/fdpass/
H A Dfdpass.c41 #include <poll.h>
83 (void)poll(&pfd, 1, -1);
129 (void)poll(&pfd, 1, -1);
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Dfilter_fork_posix.c46 # include <poll.h>
48 # include <sys/poll.h>
219 poll(fds, idx, -1); /* -1 == INFTIM, wait forever */
/freebsd-11-stable/contrib/netbsd-tests/lib/librumphijack/
H A Dh_client.c31 #include <sys/poll.h>
110 if ((rv = poll(pfd, 2, INFTIM)) != 1)
111 errx(EXIT_FAILURE, "poll unexpected rv %d (%d)",
114 errx(EXIT_FAILURE, "poll unexpected revents");
/freebsd-11-stable/usr.bin/talk/
H A Dio.c49 #include <poll.h>
115 nb = poll(fds, 2, INFTIM);
124 p_error("Unexpected error from poll");
/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/read/
H A Dt_ttypty.c40 #include <poll.h>
89 RL(poll(&pfd, 1, INFTIM));
90 (void)printf("tty: returned from poll - %d\n", pfd.revents);
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_lock.h123 std::atomic<kmp_int32> poll; member in struct:kmp_base_tas_lock
179 volatile kmp_int32 poll; // KMP_LOCK_FREE(futex) => unlocked member in struct:kmp_base_futex_lock
646 if ((gtid >= 0) && (lck->tas.lk.poll - 1 == gtid)) { \
650 if (lck->tas.lk.poll != 0 || \
651 !__kmp_atomic_compare_store_acq(&lck->tas.lk.poll, 0, gtid + 1)) { \
658 lck->tas.lk.poll != 0 || \
659 !__kmp_atomic_compare_store_acq(&lck->tas.lk.poll, 0, gtid + 1)); \
693 return ((lck->tas.lk.poll == 0) &&
694 __kmp_atomic_compare_store_acq(&lck->tas.lk.poll, 0, gtid + 1));
754 if (lck->tas.lk.poll
[all...]
H A Dkmp_csupport.cpp978 if (KMP_ATOMIC_LD_RLX(&l->lk.poll) != tas_free || \
979 !__kmp_atomic_compare_store_acq(&l->lk.poll, tas_free, tas_busy)) { \
993 KMP_ATOMIC_LD_RLX(&l->lk.poll) != tas_free || \
994 !__kmp_atomic_compare_store_acq(&l->lk.poll, tas_free, tas_busy)); \
1005 rc = KMP_ATOMIC_LD_RLX(&l->lk.poll) == tas_free && \
1006 __kmp_atomic_compare_store_acq(&l->lk.poll, tas_free, tas_busy); \
1011 { KMP_ATOMIC_ST_REL(&((kmp_tas_lock_t *)lock)->lk.poll, KMP_LOCK_FREE(tas)); }
1033 &(ftx->lk.poll), KMP_LOCK_FREE(futex), \
1037 if (!KMP_COMPARE_AND_STORE_RET32(&(ftx->lk.poll), poll_val, \
1045 if ((rc = syscall(__NR_futex, &(ftx->lk.poll), FUTEX_WAI
[all...]
/freebsd-11-stable/contrib/bmake/
H A Djob.h87 * Emulate poll() in terms of select(). This is not a complete
91 #define poll emul_poll macro
109 * in poll before coming out to see if a child has finished.
/freebsd-11-stable/lib/libc/gen/
H A Drecvmmsg.c36 #include <poll.h>
/freebsd-11-stable/usr.sbin/ntp/libntpevent/
H A DMakefile11 evutil_rand.c evutil_time.c http.c kqueue.c listener.c log.c poll.c \
/freebsd-11-stable/lib/libusb/
H A Dlibusb_global_linux.h54 #include <sys/poll.h>
/freebsd-11-stable/contrib/ncurses/ncurses/
H A Dcurses.priv.h109 /* Some systems have a broken 'select()', but workable 'poll()'. Use that */
113 #include <poll.h>
115 #include <sys/poll.h>
/freebsd-11-stable/contrib/blacklist/test/
H A Dsrvtest.c48 #include <poll.h>
212 if (poll(pfd, __arraycount(pfd), INFTIM) == -1)
213 err(1, "poll");
/freebsd-11-stable/contrib/ofed/librdmacm/examples/
H A Dcommon.h38 #include <poll.h>
59 #define rs_poll(f,n,t) use_rs ? rpoll(f,n,t) : poll(f,n,t)
/freebsd-11-stable/lib/libdevdctl/
H A Dconsumer.cc38 #include <sys/poll.h>
239 result = poll(fds, NUM_ELEMENTS(fds), /*timeout*/0);
/freebsd-11-stable/usr.bin/svn/lib/libapr/
H A DMakefile53 poll.c \
101 ${APR}/poll/unix \
/freebsd-11-stable/sys/fs/deadfs/
H A Ddead_vnops.c38 #include <sys/poll.h>
/freebsd-11-stable/stand/userboot/
H A Duserboot.h75 int (*poll)(void *arg); member in struct:loader_callbacks
/freebsd-11-stable/lib/libc/sys/
H A Dinterposing_table.c53 SLOT(poll, __sys_poll),
/freebsd-11-stable/tools/tools/netrate/netreceive/
H A Dnetreceive.c32 #include <sys/poll.h>
111 if (poll(&fds, 1, -1) < 0)
112 perror("poll on thread");
172 if (poll(NULL, 0, 500) < 0)
173 perror("poll");
/freebsd-11-stable/contrib/sendmail/libmilter/
H A Dlibmilter.h171 # include <poll.h>
172 # define MI_POLLSELECT "poll"
201 poll(&(wrs), 1, MI_MS(timeout))
204 poll(&(rds), 1, MI_MS(timeout))

Completed in 202 milliseconds

1234567891011>>