ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.pod
(Generate patch)

Comparing libev/ev.pod (file contents):
Revision 1.233 by root, Thu Apr 16 07:32:51 2009 UTC vs.
Revision 1.234 by root, Thu Apr 16 07:49:23 2009 UTC

4094involves iterating over all running async watchers or all signal numbers. 4094involves iterating over all running async watchers or all signal numbers.
4095 4095
4096=back 4096=back
4097 4097
4098 4098
4099=head1 GLOSSARY
4100
4101=over 4
4102
4103=item active
4104
4105A watcher is active as long as it has been started (has been attached to
4106an event loop) but not yet stopped (disassociated from the event loop).
4107
4108=item application
4109
4110In this document, an application is whatever is using libev.
4111
4112=item callback
4113
4114The address of a function that is called when some event has been
4115detected. Callbacks are being passed the event loop, the watcher that
4116received the event, and the actual event bitset.
4117
4118=item callback invocation
4119
4120The act of calling the callback associated with a watcher.
4121
4122=item event
4123
4124A change of state of some external event, such as data now being available
4125for reading on a file descriptor, time having passed or simply not having
4126any other events happening anymore.
4127
4128In libev, events are represented as single bits (such as C<EV_READ> or
4129C<EV_TIMEOUT>).
4130
4131=item event library
4132
4133A software package implementing an event model and loop.
4134
4135=item event loop
4136
4137An entity that handles and processes external events and converts them
4138into callback invocations.
4139
4140=item event model
4141
4142The model used to describe how an event loop handles and processes
4143watchers and events.
4144
4145=item pending
4146
4147A watcher is pending as soon as the corresponding event has been detected,
4148and stops being pending as soon as the watcher will be invoked or its
4149pending status is explicitly cleared by the application.
4150
4151A watcher can be pending, but not active. Stopping a watcher also clears
4152its pending status.
4153
4154=item real time
4155
4156The physical time that is observed. It is apparently strictly monotonic :)
4157
4158=item wall-clock time
4159
4160The time and date as shown on clocks. Unlike real time, it can actually
4161be wrong and jump forwards and backwards, e.g. when the you adjust your
4162clock.
4163
4164=item watcher
4165
4166A data structure that describes interest in certain events. Watchers need
4167to be started (attached to an event loop) before they can receive events.
4168
4169=item watcher invocation
4170
4171The act of calling the callback associated with a watcher.
4172
4173=back
4174
4099=head1 AUTHOR 4175=head1 AUTHOR
4100 4176
4101Marc Lehmann <libev@schmorp.de>, with repeated corrections by Mikael Magnusson. 4177Marc Lehmann <libev@schmorp.de>, with repeated corrections by Mikael Magnusson.
4102 4178

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines