APR_POLL_LASTDESC

Poll

public Poll()

Method Detail

create

public static long create(int size,
long p,
int flags,
long ttl)
throws Error

Setup a pollset object.
If flags equals APR_POLLSET_THREADSAFE, then a pollset is
created on which it is safe to make concurrent calls to
apr_pollset_add(), apr_pollset_remove() and apr_pollset_poll() from
separate threads. This feature is only supported on some
platforms; the apr_pollset_create() call will fail with
APR_ENOTIMPL on platforms where it is not supported.