MainContext.query

Determines information necessary to poll this main loop.

class MainContext
int
query
(,
out int timeout
,,
int nFds
)

Parameters

maxPriority int

maximum priority source to check

timeout int

location to store timeout to be used in polling

fds GPollFD*

location to store GPollFD records that need to be polled.

nFds int

length of fds.

Return Value

Type: int

the number of records actually stored in fds, or, if more than n_fds records need to be stored, the number of records that need to be stored.

Meta