diff options
author | brianp <brianp@13f79535-47bb-0310-9956-ffa450edef68> | 2002-08-04 04:43:23 +0000 |
---|---|---|
committer | brianp <brianp@13f79535-47bb-0310-9956-ffa450edef68> | 2002-08-04 04:43:23 +0000 |
commit | 90dd89abacff96dc14f6ef281298b20952625471 (patch) | |
tree | bf088a016dcc5f06d8d4220fb671af5ed3535304 /test/testpoll.c | |
parent | 0f5c32682bbb29abf064b5d988e8dd54c1c0b468 (diff) | |
download | libapr-90dd89abacff96dc14f6ef281298b20952625471.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: http://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); } |