cpp/thread/latch/try wait

Returns only if the internal counter has reached zero. This function may spuriously return with very low probability even if the internal counter has reached zero.

Parameters
(none)

Return value
With very low probability, otherwise , where is the value of the internal counter.