crank_single_clock_wait


Description:

[ CCode ( cname = "gst_harness_crank_single_clock_wait" ) ]
public bool crank_single_clock_wait ()

A "crank" consists of three steps: 1: Wait for a ClockID to be registered with the TestClock.

2: Advance the TestClock to the time the ClockID is waiting for. 3: Release the ClockID wait. Together, this provides an easy way to not have to think about the details around clocks and time, but still being able to write deterministic tests that are dependent on this. A "crank" can be though of as the notion of manually driving the clock forward to its next logical step.

MT safe.

Parameters:

this

a Harness

Returns:

a gboolean true if the "crank" was successful, false if not.