add


Description:

public void add (int delta = 1)

Adds delta to the counter.

All threads blocked on wait()/wait_until() are awakened if the counter becomes zero.

If the counter becomes negative, fails with GLib.error.

Parameters:

delta

a delta which may be negative




2022 vala-language.org