broadcast


Description:

public void broadcast ()

If threads are waiting for this, all of them are unblocked.

If no threads are waiting for this, this function has no effect. It is good practice to lock the same mutex as the waiting threads while calling this function, though not required.

Parameters:

this

a Cond