apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r791333 - /apr/apr/trunk/poll/unix/poll.c
Date Sun, 05 Jul 2009 23:00:41 GMT
Author: pquerna
Date: Sun Jul  5 23:00:40 2009
New Revision: 791333

URL: http://svn.apache.org/viewvc?rev=791333&view=rev
Log:
For poll() backend of pollcb API, return ENOTIMPL if APR was compiled with threads.

Modified:
    apr/apr/trunk/poll/unix/poll.c

Modified: apr/apr/trunk/poll/unix/poll.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/poll/unix/poll.c?rev=791333&r1=791332&r2=791333&view=diff
==============================================================================
--- apr/apr/trunk/poll/unix/poll.c (original)
+++ apr/apr/trunk/poll/unix/poll.c Sun Jul  5 23:00:40 2009
@@ -304,6 +304,10 @@
                                        apr_pool_t *p,
                                        apr_uint32_t flags)
 {
+#if APR_HAS_THREADS
+  return APR_ENOTIMPL;
+#endif
+
     pollcb->fd = -1;
 #ifdef WIN32
     if (!APR_HAVE_LATE_DLL_FUNC(WSAPoll)) {



Mime
View raw message