diff options
author | Brian Pane <brianp@apache.org> | 2002-08-04 04:43:23 +0000 |
---|---|---|
committer | Brian Pane <brianp@apache.org> | 2002-08-04 04:43:23 +0000 |
commit | 865158d9c959900f190f69fd9412e274b7ee7997 (patch) | |
tree | bf088a016dcc5f06d8d4220fb671af5ed3535304 /test/testpoll.c | |
parent | 33bd194b9163524d20378b5e3fb1130f525d7524 (diff) | |
download | apr-865158d9c959900f190f69fd9412e274b7ee7997.tar.gz |
One more update to the pollset API before we start using it
in the httpd: add a "flags" argument to apr_pollset_create().
When we add support for OS-specific poll alternatives in the
future, I anticipate that we'll need to give apps a way to
pass hints to the pollset create function to help it pick
the best mechanism for a specific pollset. (E.g., there may
be situations where we'll want to use poll(2) even if the OS
has /dev/poll.) This "flags" argument is a placeholder to
make it possible to add such hints later.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63790 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testpoll.c')
-rw-r--r-- | test/testpoll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testpoll.c b/test/testpoll.c index 0827777ec..38af175c7 100644 --- a/test/testpoll.c +++ b/test/testpoll.c @@ -246,7 +246,7 @@ int main(void) fprintf (stdout,"\nAPR Pollset Test\n****************\n\n"); printf ("\tSetting up pollset...................."); - if (apr_pollset_create(&pollset, LARGE_NUM_SOCKETS, context) != APR_SUCCESS){ + if (apr_pollset_create(&pollset, LARGE_NUM_SOCKETS, context, 0) != APR_SUCCESS){ printf("Couldn't create a pollset!\n"); exit (-1); } |