Add a default timeout parameter to HHWheelTimer.
Summary: Currently HHWheelTimer requires providing an explicit timeout value every time a new timeout is scgeduled. This change adds an optional "default timeout" parameter. With this parameter set, HHWheelTimer can be used the same way as AsyncTimeoutSet. Variable timeout functionality is still available even if the default parameter is set. Reviewed By: @djwatson Differential Revision: D2366783
Showing
Please register or sign in to comment