Method Signal():signal() Foundation

Triggers a signal for other threads.

Syntax
:signal() --> self
Return

The method returns the object that executes the method.

Description

The method :signal() triggers the signal for all threads which simultaneously execute the :wait() method with the same Signal object. Once signalled, all waiting threads leave their wait state and resume program execution (1:N relationship, one thread triggers the signal for N waiting threads).

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.