poll_usec


Description:

[ Version ( since = "1.18" ) ]
public Result poll_usec (Event events, Event revents, int64 timeout)

Wait up to the specified timeout for the connection to become available for at least one of the operations specified in events.

When the function returns with OK, revents will contain a bitmask of available operations on this.

timeout can be 0, in which case this function might block forever.

This function can be cancelled with flush.

Parameters:

this

a Connection

events

a bitmask of Event flags to check

revents

location for result flags

timeout

a timeout in microseconds

Returns:

OK on success.




2022 vala-language.org