… | |
… | |
4875 | |
4875 | |
4876 | =over 4 |
4876 | =over 4 |
4877 | |
4877 | |
4878 | =item active |
4878 | =item active |
4879 | |
4879 | |
4880 | A watcher is active as long as it has been started (has been attached to |
4880 | A watcher is active as long as it has been started and not yet stopped. |
4881 | an event loop) but not yet stopped (disassociated from the event loop). |
4881 | See L<WATCHER STATES> for details. |
4882 | |
4882 | |
4883 | =item application |
4883 | =item application |
4884 | |
4884 | |
4885 | In this document, an application is whatever is using libev. |
4885 | In this document, an application is whatever is using libev. |
4886 | |
4886 | |
… | |
… | |
4888 | |
4888 | |
4889 | The address of a function that is called when some event has been |
4889 | The address of a function that is called when some event has been |
4890 | detected. Callbacks are being passed the event loop, the watcher that |
4890 | detected. Callbacks are being passed the event loop, the watcher that |
4891 | received the event, and the actual event bitset. |
4891 | received the event, and the actual event bitset. |
4892 | |
4892 | |
4893 | =item callback invocation |
4893 | =item callback/watcher invocation |
4894 | |
4894 | |
4895 | The act of calling the callback associated with a watcher. |
4895 | The act of calling the callback associated with a watcher. |
4896 | |
4896 | |
4897 | =item event |
4897 | =item event |
4898 | |
4898 | |
… | |
… | |
4917 | The model used to describe how an event loop handles and processes |
4917 | The model used to describe how an event loop handles and processes |
4918 | watchers and events. |
4918 | watchers and events. |
4919 | |
4919 | |
4920 | =item pending |
4920 | =item pending |
4921 | |
4921 | |
4922 | A watcher is pending as soon as the corresponding event has been detected, |
4922 | A watcher is pending as soon as the corresponding event has been |
4923 | and stops being pending as soon as the watcher will be invoked or its |
4923 | detected. See L<WATCHER STATES> for details. |
4924 | pending status is explicitly cleared by the application. |
|
|
4925 | |
|
|
4926 | A watcher can be pending, but not active. Stopping a watcher also clears |
|
|
4927 | its pending status. |
|
|
4928 | |
4924 | |
4929 | =item real time |
4925 | =item real time |
4930 | |
4926 | |
4931 | The physical time that is observed. It is apparently strictly monotonic :) |
4927 | The physical time that is observed. It is apparently strictly monotonic :) |
4932 | |
4928 | |
… | |
… | |
4939 | =item watcher |
4935 | =item watcher |
4940 | |
4936 | |
4941 | A data structure that describes interest in certain events. Watchers need |
4937 | A data structure that describes interest in certain events. Watchers need |
4942 | to be started (attached to an event loop) before they can receive events. |
4938 | to be started (attached to an event loop) before they can receive events. |
4943 | |
4939 | |
4944 | =item watcher invocation |
|
|
4945 | |
|
|
4946 | The act of calling the callback associated with a watcher. |
|
|
4947 | |
|
|
4948 | =back |
4940 | =back |
4949 | |
4941 | |
4950 | =head1 AUTHOR |
4942 | =head1 AUTHOR |
4951 | |
4943 | |
4952 | Marc Lehmann <libev@schmorp.de>, with repeated corrections by Mikael Magnusson. |
4944 | Marc Lehmann <libev@schmorp.de>, with repeated corrections by Mikael Magnusson. |