crank_multiple_clock_waits


Description:

[ CCode ( cname = "gst_harness_crank_multiple_clock_waits" ) ]
public bool crank_multiple_clock_waits (uint waits)

Similar to crank_single_clock_wait, this is the function to use if your harnessed element(s) are using more then one gst_clock_id_wait.

Failing to do so can (and will) make it racy which ClockID you actually are releasing, where as this function will process all the waits at the same time, ensuring that one thread can't register another wait before both are released.

MT safe.

Parameters:

this

a Harness

waits

a Signal describing the number of ClockIDs to crank

Returns:

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




2022 vala-language.org