ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/lib/AnyEvent.pm
(Generate patch)

Comparing AnyEvent/lib/AnyEvent.pm (file contents):
Revision 1.173 by root, Mon Jul 21 03:47:22 2008 UTC vs.
Revision 1.174 by root, Thu Jul 24 06:40:22 2008 UTC

389 389
390The instrument to do that is called a "condition variable", so called 390The instrument to do that is called a "condition variable", so called
391because they represent a condition that must become true. 391because they represent a condition that must become true.
392 392
393Condition variables can be created by calling the C<< AnyEvent->condvar 393Condition variables can be created by calling the C<< AnyEvent->condvar
394
395>> method, usually without arguments. The only argument pair allowed is 394>> method, usually without arguments. The only argument pair allowed is
396 395
397C<cb>, which specifies a callback to be called when the condition variable 396C<cb>, which specifies a callback to be called when the condition variable
398becomes true, with the condition variable as the first argument (but not 397becomes true, with the condition variable as the first argument (but not
399the results). 398the results).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines