Table of Contents

Name

qt_sinc_reset - restarts a sinc

Synopsis

#include <qthread/sinc.h>

void
qt_sinc_reset (qt_sinc_t *sinc, size_t expect);

Description

This function restarts an existing qt_sinc_t object, regardless of what state it is in. Any partially accumulated values are discarded and replaced with the originally-specified initial value. Any remaining submissions that were expected are forgotten. The sinc is prepared to receive expect submissions.

See Also

qt_sinc_create(3) , qt_sinc_destroy(3) , qt_sinc_expect(3) , qt_sinc_fini(3) , qt_sinc_init(3) , qt_sinc_submit(3) , qt_sinc_wait(3)


Table of Contents