TimeoutSource


Description:

public TimeoutSource (uint interval)

Creates a new timeout source.

The source will not initially be associated with any MainContext and must be added to one with attach before it will be executed.

The interval given is in terms of monotonic time, not wall clock time. See get_monotonic_time.

Parameters:

interval

the timeout interval in milliseconds.

Returns:

the newly-created timeout source