mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 15:19:34 -05:00
Poll code needs a bit more work.
This commit is contained in:
parent
7a13824cf4
commit
fb0571b5ad
4 changed files with 684 additions and 743 deletions
|
|
@ -883,7 +883,7 @@ dnl check to see if system call automatically restart
|
||||||
dnl AC_SYS_RESTARTABLE_SYSCALLS
|
dnl AC_SYS_RESTARTABLE_SYSCALLS
|
||||||
|
|
||||||
dnl ----------------------------------------------------------------
|
dnl ----------------------------------------------------------------
|
||||||
AC_CHECK_FUNCS( poll )
|
dnl AC_CHECK_FUNCS( poll )
|
||||||
AC_CHECK_HEADERS( poll.h )
|
AC_CHECK_HEADERS( poll.h )
|
||||||
|
|
||||||
dnl ----------------------------------------------------------------
|
dnl ----------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -212,9 +212,6 @@
|
||||||
/* Define if you have the pipe function. */
|
/* Define if you have the pipe function. */
|
||||||
#undef HAVE_PIPE
|
#undef HAVE_PIPE
|
||||||
|
|
||||||
/* Define if you have the poll function. */
|
|
||||||
#undef HAVE_POLL
|
|
||||||
|
|
||||||
/* Define if you have the pthread_getconcurrency function. */
|
/* Define if you have the pthread_getconcurrency function. */
|
||||||
#undef HAVE_PTHREAD_GETCONCURRENCY
|
#undef HAVE_PTHREAD_GETCONCURRENCY
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef TV2MILLISEC
|
#undef TV2MILLISEC
|
||||||
#define TV2MILLISEC(tv) (((tv)->sec * 1000) + ((tv)->tv_usec/1000))
|
#define TV2MILLISEC(tv) (((tv)->tv_sec * 1000) + ((tv)->tv_usec/1000))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Support needed if the library is running in the kernel
|
* Support needed if the library is running in the kernel
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue