Documentation for routine condition

Documentation for routine condition, assembled from the following types:

class Lock

From Lock

(Lock) method condition

Defined as:

my class ConditionVariable {
    method wait();
    method signal();
    method signal_all();
}
 
method condition(Lock:D: --> ConditionVariable:D)

Returns a condition variable. Compare http://web.stanford.edu/class/cs140/cgi-bin/lecture.php?topic=locks or https://en.wikipedia.org/wiki/Monitor_%28synchronization%29 for background.

my $l = Lock.new;
$l.condition;

class X::Phaser::PrePost

From X::Phaser::PrePost

(X::Phaser::PrePost) method condition

method condition(--> Str:D)

Returns the part of the source code that describes the phaser condition.