Poll code needs a bit more work.

This commit is contained in:
Kurt Zeilenga 2004-10-18 18:18:52 +00:00
parent 7a13824cf4
commit fb0571b5ad
4 changed files with 684 additions and 743 deletions

1420
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -883,7 +883,7 @@ dnl check to see if system call automatically restart
dnl AC_SYS_RESTARTABLE_SYSCALLS
dnl ----------------------------------------------------------------
AC_CHECK_FUNCS( poll )
dnl AC_CHECK_FUNCS( poll )
AC_CHECK_HEADERS( poll.h )
dnl ----------------------------------------------------------------

View file

@ -212,9 +212,6 @@
/* Define if you have the pipe function. */
#undef HAVE_PIPE
/* Define if you have the poll function. */
#undef HAVE_POLL
/* Define if you have the pthread_getconcurrency function. */
#undef HAVE_PTHREAD_GETCONCURRENCY

View file

@ -43,7 +43,7 @@
#endif
#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