The ev Reference Manual

Next: , Previous: , Up: (dir)   [Contents][Index]

The ev Reference Manual

This is the ev Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Aug 15 03:37:24 2022 GMT+0.

Table of Contents


1 Introduction

cl-ev

cl-ev is an attempt at cffi bindings for libev.

API Support

We support the following watchers:

TODO

Support the following watchers:

Example Usage

This is a port of the example libev program.

(ql:quickload :ev)
(in-package :ev)

(defparameter *io-handler* (make-instance 'ev-io-watcher))
(defparameter *timer-handler* (make-instance 'ev-timer))
(defparameter *periodic-handler* (make-instance 'ev-periodic))

(defun io-cb (loop watcher events)
  (format t "IO Callback hit! loop ~S watcher ~S events ~S~%" loop watcher events))

(defun timer-cb (loop watcher events)
  (format t "Timer Callback hit! loop ~S watcher ~S events ~S~%" loop watcher events))

(defun periodic-cb (loop watcher events)
  (format t "Periodic Callback hit! loop ~S watcher ~S events ~S~%" loop watcher events))

(defun run-loop ()
  (let ((l (make-instance 'ev-loop)))
    (set-timer l *timer-handler* #'timer-cb 5.5d0)
    (set-io-watcher l *io-handler* 0 EV_READ #'io-cb)
    (set-perodic l *periodic-handler* #'periodic-cb 0.0d0 10.0d0 nil)
    (event-dispatch l)))

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 ev

libev bindings

Author

<Sean Bryant <sean@hackinggibsons.com>

License

BSD

Dependencies
  • cffi (system).
  • trivial-garbage (system).
Source

ev.asd.

Child Component

src (module).


Next: , Previous: , Up: The ev Reference Manual   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Previous: , Up: Modules   [Contents][Index]

3.1 ev/src

Source

ev.asd.

Parent Component

ev (system).

Child Components

Next: , Previous: , Up: The ev Reference Manual   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp   [Contents][Index]

4.1.1 ev/ev.asd

Source

ev.asd.

Parent Component

ev (system).

ASDF Systems

ev.

Packages

ev-system.


Next: , Previous: , Up: Lisp   [Contents][Index]

4.1.2 ev/src/package.lisp

Source

ev.asd.

Parent Component

src (module).

Packages

ev.


Next: , Previous: , Up: Lisp   [Contents][Index]

4.1.3 ev/src/cffi.lisp

Dependency

package.lisp (file).

Source

ev.asd.

Parent Component

src (module).

Public Interface
Internals

Previous: , Up: Lisp   [Contents][Index]

4.1.4 ev/src/ev.lisp

Dependency

cffi.lisp (file).

Source

ev.asd.

Parent Component

src (module).

Public Interface
Internals

5 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

5.1 ev-system

Source

ev.asd.

Use List

asdf/interface.


Previous: , Up: Packages   [Contents][Index]

5.2 ev

Source

package.lisp.

Use List
  • cffi.
  • common-lisp.
Public Interface
Internals

Next: , Previous: , Up: The ev Reference Manual   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Public Interface


6.1.1 Constants

Constant: ev_read
Package

ev.

Source

cffi.lisp.

Constant: ev_write
Package

ev.

Source

cffi.lisp.


6.1.2 Setf expanders

Setf Expander: (setf watcher-slot) (watcher slot)
Package

ev.

Source

ev.lisp.

Reader

watcher-slot (generic function).

Writer

set-watcher-slot (generic function).


6.1.3 Ordinary functions

Function: ev_now (loop)
Package

ev.

Source

cffi.lisp.


6.1.4 Generic functions

Generic Function: event-dispatch (ev-loop &optional start-watchers)
Package

ev.

Source

ev.lisp.

Methods
Method: event-dispatch :before ((loop ev-loop) &optional start-watchers)
Method: event-dispatch ((loop ev-loop) &optional start-watchers)
Generic Function: set-idle (ev-loop watcher function)
Package

ev.

Source

ev.lisp.

Methods
Method: set-idle ((loop ev-loop) (watcher ev-idle) function)
Generic Function: set-io-watcher (ev-loop watcher fd event-type function)
Package

ev.

Source

ev.lisp.

Methods
Method: set-io-watcher ((loop ev-loop) (watcher ev-io-watcher) fd event-type function)
Generic Function: set-timer (ev-loop watcher function timeout &key repeat)
Package

ev.

Source

ev.lisp.

Methods
Method: set-timer ((loop ev-loop) (watcher ev-timer) function timeout &key repeat)
Generic Function: start-watcher (loop watcher)
Package

ev.

Source

ev.lisp.

Methods
Method: start-watcher ((loop ev-loop) (watcher ev-periodic))
Method: start-watcher ((loop ev-loop) (watcher ev-timer))
Method: start-watcher ((loop ev-loop) (watcher ev-io-watcher))
Method: start-watcher ((loop ev-loop) (watcher ev-idle))
Generic Function: stop-watcher (loop watcher &key keep-callback &allow-other-keys)
Package

ev.

Source

ev.lisp.

Methods
Method: stop-watcher ((loop ev-loop) (watcher ev-periodic) &key keep-callback)
Method: stop-watcher ((loop ev-loop) (watcher ev-timer) &key keep-callback)
Method: stop-watcher ((loop ev-loop) (watcher ev-io-watcher) &key keep-callback)
Method: stop-watcher ((loop ev-loop) (watcher ev-idle) &key keep-callback)
Method: stop-watcher :before ((loop ev-loop) watcher &key &allow-other-keys)
Generic Function: watcher-active-p (watcher)
Package

ev.

Source

ev.lisp.

Methods
Method: watcher-active-p ((watcher ev-watcher))
Generic Function: watcher-slot (watcher slot)
Package

ev.

Source

ev.lisp.

Setf expander for this generic function

(setf watcher-slot).

Methods
Method: watcher-slot ((watcher ev-idle) slot)

Get the value of the slot named by a symbol in this package sharing a name with the symbol ‘slot’ from an ‘ev-idle’ wrapper.

Method: watcher-slot ((watcher ev-timer) slot)

Get the value of the slot named by a symbol in this package sharing a name with the symbol ‘slot’ from an ‘ev-timer’ wrapper.


6.1.5 Standalone methods

Method: initialize-instance :after ((self ev-watcher) &key)
Source

ev.lisp.

Method: initialize-instance :after ((self ev-loop) &key)
Source

ev.lisp.


6.1.6 Classes

Class: ev-idle
Package

ev.

Source

ev.lisp.

Direct superclasses

ev-watcher.

Direct methods
Direct slots
Slot: idle-watcher
Initform

(cffi:foreign-alloc (quote ev::ev_idle))

Readers

ev-pointer.

Writers

(setf ev-pointer).

Class: ev-io-watcher
Package

ev.

Source

ev.lisp.

Direct superclasses

ev-watcher.

Direct methods
Direct slots
Slot: watcher-pointer
Initform

(cffi:foreign-alloc (quote ev::ev_io))

Readers

ev-pointer.

Writers

(setf ev-pointer).

Class: ev-loop
Package

ev.

Source

ev.lisp.

Direct methods
Direct Default Initargs
InitargValue
:ev-loop(ev_loop_new evflag_auto)
Direct slots
Slot: event-loop

the libev event_loop

Initargs

:ev-loop

Readers

event-loop.

Writers

(setf event-loop).

Class: ev-timer
Package

ev.

Source

ev.lisp.

Direct superclasses

ev-watcher.

Direct methods
Direct slots
Slot: timer-pointer
Initform

(cffi:foreign-alloc (quote ev::ev_timer))

Readers

ev-pointer.

Writers

(setf ev-pointer).

Class: ev-watcher
Package

ev.

Source

ev.lisp.

Direct subclasses
Direct methods

6.2 Internals


Next: , Previous: , Up: Internals   [Contents][Index]

6.2.1 Constants

Constant: ev__iofdset
Package

ev.

Source

cffi.lisp.

Constant: ev_async
Package

ev.

Source

cffi.lisp.

Constant: ev_async_enable
Package

ev.

Source

cffi.lisp.

Constant: ev_check
Package

ev.

Source

cffi.lisp.

Constant: ev_check_enable
Package

ev.

Source

cffi.lisp.

Constant: ev_child
Package

ev.

Source

cffi.lisp.

Constant: ev_child_enable
Package

ev.

Source

cffi.lisp.

Constant: ev_cleanup
Package

ev.

Source

cffi.lisp.

Constant: ev_cleanup_enable
Package

ev.

Source

cffi.lisp.

Constant: ev_compat3
Package

ev.

Source

cffi.lisp.

Constant: ev_custom
Package

ev.

Source

cffi.lisp.

Constant: ev_embed
Package

ev.

Source

cffi.lisp.

Constant: ev_embed_enable
Package

ev.

Source

cffi.lisp.

Constant: ev_error
Package

ev.

Source

cffi.lisp.

Constant: ev_feature_api
Package

ev.

Source

cffi.lisp.

Constant: ev_feature_backends
Package

ev.

Source

cffi.lisp.

Constant: ev_feature_code
Package

ev.

Source

cffi.lisp.

Constant: ev_feature_config
Package

ev.

Source

cffi.lisp.

Constant: ev_feature_data
Package

ev.

Source

cffi.lisp.

Constant: ev_feature_os
Package

ev.

Source

cffi.lisp.

Constant: ev_feature_watchers
Package

ev.

Source

cffi.lisp.

Constant: ev_features
Package

ev.

Source

cffi.lisp.

Constant: ev_fork
Package

ev.

Source

cffi.lisp.

Constant: ev_fork_enable
Package

ev.

Source

cffi.lisp.

Constant: ev_idle
Package

ev.

Source

cffi.lisp.

Constant: ev_idle_enable
Package

ev.

Source

cffi.lisp.

Constant: ev_io
Package

ev.

Source

cffi.lisp.

Constant: ev_maxpri
Package

ev.

Source

cffi.lisp.

Constant: ev_minpri
Package

ev.

Source

cffi.lisp.

Constant: ev_multiplicity
Package

ev.

Source

cffi.lisp.

Constant: ev_none
Package

ev.

Source

cffi.lisp.

Constant: ev_periodic
Package

ev.

Source

cffi.lisp.

Constant: ev_periodic_enable
Package

ev.

Source

cffi.lisp.

Constant: ev_prepare
Package

ev.

Source

cffi.lisp.

Constant: ev_prepare_enable
Package

ev.

Source

cffi.lisp.

Constant: ev_prototypes
Package

ev.

Source

cffi.lisp.

Constant: ev_signal
Package

ev.

Source

cffi.lisp.

Constant: ev_signal_enable
Package

ev.

Source

cffi.lisp.

Constant: ev_stat
Package

ev.

Source

cffi.lisp.

Constant: ev_stat_enable
Package

ev.

Source

cffi.lisp.

Constant: ev_timeout
Package

ev.

Source

cffi.lisp.

Constant: ev_timer
Package

ev.

Source

cffi.lisp.

Constant: ev_undef
Package

ev.

Source

cffi.lisp.

Constant: ev_version_major
Package

ev.

Source

cffi.lisp.

Constant: ev_version_minor
Package

ev.

Source

cffi.lisp.

Constant: ev_walk_enable
Package

ev.

Source

cffi.lisp.

Constant: evbackend_all
Package

ev.

Source

cffi.lisp.

Constant: evbackend_devpoll
Package

ev.

Source

cffi.lisp.

Constant: evbackend_epoll
Package

ev.

Source

cffi.lisp.

Constant: evbackend_kqueue
Package

ev.

Source

cffi.lisp.

Constant: evbackend_mask
Package

ev.

Source

cffi.lisp.

Constant: evbackend_poll
Package

ev.

Source

cffi.lisp.

Constant: evbackend_port
Package

ev.

Source

cffi.lisp.

Constant: evbackend_select
Package

ev.

Source

cffi.lisp.

Constant: evbreak_all
Package

ev.

Source

cffi.lisp.

Constant: evbreak_cancel
Package

ev.

Source

cffi.lisp.

Constant: evbreak_one
Package

ev.

Source

cffi.lisp.

Constant: evflag_auto
Package

ev.

Source

cffi.lisp.

Constant: evflag_forkcheck
Package

ev.

Source

cffi.lisp.

Constant: evflag_noenv
Package

ev.

Source

cffi.lisp.

Constant: evflag_noinotify
Package

ev.

Source

cffi.lisp.

Constant: evflag_nosigfd
Package

ev.

Source

cffi.lisp.

Constant: evflag_nosigmask
Package

ev.

Source

cffi.lisp.

Constant: evflag_signalfd
Package

ev.

Source

cffi.lisp.

Constant: evrun_nowait
Package

ev.

Source

cffi.lisp.

Constant: evrun_once
Package

ev.

Source

cffi.lisp.


Next: , Previous: , Up: Internals   [Contents][Index]

6.2.2 Special variables

Special Variable: *callbacks*
Package

ev.

Source

ev.lisp.

Special Variable: *loops*
Package

ev.

Source

ev.lisp.

Special Variable: *reschedule-callbacks*
Package

ev.

Source

ev.lisp.

Special Variable: *watchers*
Package

ev.

Source

ev.lisp.


6.2.3 Macros

Macro: defanonenum (&body enums)

Converts anonymous enums to defconstants.

Package

ev.

Source

cffi.lisp.


Next: , Previous: , Up: Internals   [Contents][Index]

6.2.4 Ordinary functions

Function: callback-key (watcher)
Package

ev.

Source

ev.lisp.

Function: ev_async_send (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_async_start (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_async_stop (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_backend (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_break (loop how)
Package

ev.

Source

cffi.lisp.

Function: ev_check_start (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_check_stop (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_child_start (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_child_stop (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_cleanup_start (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_cleanup_stop (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_clear_pending (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_default_destroy ()
Package

ev.

Source

cffi.lisp.

Function: ev_default_fork ()
Package

ev.

Source

cffi.lisp.

Function: ev_default_loop (flags)
Package

ev.

Source

cffi.lisp.

Function: ev_default_loop_uc_ ()
Package

ev.

Source

cffi.lisp.

Function: ev_depth (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_embed_start (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_embed_stop (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_embed_sweep (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_embeddable_backends ()
Package

ev.

Source

cffi.lisp.

Function: ev_feed_event (loop w revents)
Package

ev.

Source

cffi.lisp.

Function: ev_feed_fd_event (loop fd revents)
Package

ev.

Source

cffi.lisp.

Function: ev_feed_signal (signum)
Package

ev.

Source

cffi.lisp.

Function: ev_feed_signal_event (loop signum)
Package

ev.

Source

cffi.lisp.

Function: ev_fork_start (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_fork_stop (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_idle_init (ev cb)
Package

ev.

Source

cffi.lisp.

Function: ev_idle_start (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_idle_stop (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_init (ev cb_)
Package

ev.

Source

cffi.lisp.

Function: ev_invoke (loop w revents)
Package

ev.

Source

cffi.lisp.

Function: ev_invoke_pending (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_io_init (ev cb fd events)
Package

ev.

Source

cffi.lisp.

Function: ev_io_set (ev fd_ events_)
Package

ev.

Source

cffi.lisp.

Function: ev_io_start (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_io_stop (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_is_active (ev)
Package

ev.

Source

cffi.lisp.

Function: ev_is_default_loop (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_is_pending (ev)
Package

ev.

Source

cffi.lisp.

Function: ev_iteration (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_loop (loop flags)
Package

ev.

Source

cffi.lisp.

Function: ev_loop_count (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_loop_depth (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_loop_destroy (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_loop_fork (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_loop_new (flags)
Package

ev.

Source

cffi.lisp.

Function: ev_loop_verify (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_now_update (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_once (loop fd events timeout cb arg)
Package

ev.

Source

cffi.lisp.

Function: ev_pending_count (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_periodic_again (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_periodic_init (ev cb offset interval resched-cb)
Package

ev.

Source

cffi.lisp.

Function: ev_periodic_set (ev _offset _interval resched-cb)
Package

ev.

Source

cffi.lisp.

Function: ev_periodic_start (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_periodic_stop (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_prepare_start (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_prepare_stop (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_recommended_backends ()
Package

ev.

Source

cffi.lisp.

Function: ev_ref (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_resume (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_run (loop flags)
Package

ev.

Source

cffi.lisp.

Function: ev_set_allocator (cb)
Package

ev.

Source

cffi.lisp.

Function: ev_set_invoke_pending_cb (loop invoke_pending_cb)
Package

ev.

Source

cffi.lisp.

Function: ev_set_io_collect_interval (loop interval)
Package

ev.

Source

cffi.lisp.

Function: ev_set_loop_release_cb (loop release acquire)
Package

ev.

Source

cffi.lisp.

Function: ev_set_syserr_cb (cb)
Package

ev.

Source

cffi.lisp.

Function: ev_set_timeout_collect_interval (loop interval)
Package

ev.

Source

cffi.lisp.

Function: ev_set_userdata (loop data)
Package

ev.

Source

cffi.lisp.

Function: ev_signal_init (ev cb signum)
Package

ev.

Source

cffi.lisp.

Function: ev_signal_set (ev signum)
Package

ev.

Source

cffi.lisp.

Function: ev_signal_start (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_signal_stop (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_sleep (delay)
Package

ev.

Source

cffi.lisp.

Function: ev_stat_start (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_stat_stat (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_stat_stop (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_supported_backends ()
Package

ev.

Source

cffi.lisp.

Function: ev_suspend (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_time ()
Package

ev.

Source

cffi.lisp.

Function: ev_timer_again (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_timer_init (ev cb after repeat)
Package

ev.

Source

cffi.lisp.

Function: ev_timer_remaining (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_timer_set (ev after_ repeat_)
Package

ev.

Source

cffi.lisp.

Function: ev_timer_start (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_timer_stop (loop w)
Package

ev.

Source

cffi.lisp.

Function: ev_unloop (loop how)
Package

ev.

Source

cffi.lisp.

Function: ev_unref (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_userdata (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_verify (loop)
Package

ev.

Source

cffi.lisp.

Function: ev_version_major ()
Package

ev.

Source

cffi.lisp.

Function: ev_version_minor ()
Package

ev.

Source

cffi.lisp.

Function: set-watcher-type-slot (watcher type slot value)
Package

ev.

Source

ev.lisp.

Function: swig-lispify (name flag &optional package)
Package

ev.

Source

cffi.lisp.

Function: watcher-type-slot (watcher type slot)
Package

ev.

Source

ev.lisp.


Next: , Previous: , Up: Internals   [Contents][Index]

6.2.5 Generic functions

Generic Function: ev-callback (ev-loop watcher events)
Package

ev.

Source

ev.lisp.

Methods
Method: ev-callback ((loop ev-loop) (watcher ev-watcher) events)
Generic Reader: ev-pointer (object)
Package

ev.

Methods
Reader Method: ev-pointer ((ev-idle ev-idle))

automatically generated reader method

Source

ev.lisp.

Target Slot

idle-watcher.

Reader Method: ev-pointer ((ev-periodic ev-periodic))

automatically generated reader method

Source

ev.lisp.

Target Slot

periodic-pointer.

Reader Method: ev-pointer ((ev-timer ev-timer))

automatically generated reader method

Source

ev.lisp.

Target Slot

timer-pointer.

Reader Method: ev-pointer ((ev-io-watcher ev-io-watcher))

automatically generated reader method

Source

ev.lisp.

Target Slot

watcher-pointer.

Generic Writer: (setf ev-pointer) (object)
Package

ev.

Methods
Writer Method: (setf ev-pointer) ((ev-idle ev-idle))

automatically generated writer method

Source

ev.lisp.

Target Slot

idle-watcher.

Writer Method: (setf ev-pointer) ((ev-periodic ev-periodic))

automatically generated writer method

Source

ev.lisp.

Target Slot

periodic-pointer.

Writer Method: (setf ev-pointer) ((ev-timer ev-timer))

automatically generated writer method

Source

ev.lisp.

Target Slot

timer-pointer.

Writer Method: (setf ev-pointer) ((ev-io-watcher ev-io-watcher))

automatically generated writer method

Source

ev.lisp.

Target Slot

watcher-pointer.

Generic Reader: event-loop (object)
Generic Writer: (setf event-loop) (object)
Package

ev.

Methods
Reader Method: event-loop ((ev-loop ev-loop))
Writer Method: (setf event-loop) ((ev-loop ev-loop))

the libev event_loop

Source

ev.lisp.

Target Slot

event-loop.

Generic Function: set-perodic (loop watcher cb offset interval reschedule-cb)
Package

ev.

Methods
Method: set-perodic ((loop ev-loop) (watcher ev-periodic) cb offset interval reschedule-cb)
Source

ev.lisp.

Generic Function: set-watcher-slot (watcher slot value)
Package

ev.

Source

ev.lisp.

Setf expanders to this generic function

(setf watcher-slot).

Methods
Method: set-watcher-slot ((watcher ev-idle) slot value)

Set the value otherwise fetched with ‘watcher-slot’ for an ‘ev-idle’

Method: set-watcher-slot ((watcher ev-timer) slot value)

Set the value otherwise fetched with ‘watcher-slot’ for an ‘ev-timer’


Previous: , Up: Internals   [Contents][Index]

6.2.6 Classes

Class: ev-periodic
Package

ev.

Source

ev.lisp.

Direct superclasses

ev-watcher.

Direct methods
Direct slots
Slot: periodic-pointer
Initform

(cffi:foreign-alloc (quote ev::ev_periodic))

Readers

ev-pointer.

Writers

(setf ev-pointer).

Class: ev_async-tclass
Package

ev.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ev_check-tclass
Package

ev.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ev_child-tclass
Package

ev.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ev_cleanup-tclass
Package

ev.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ev_embed-tclass
Package

ev.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ev_fork-tclass
Package

ev.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ev_idle-tclass
Package

ev.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ev_io-tclass
Package

ev.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ev_periodic-tclass
Package

ev.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ev_prepare-tclass
Package

ev.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ev_signal-tclass
Package

ev.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ev_stat-tclass
Package

ev.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ev_timer-tclass
Package

ev.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ev_watcher-tclass
Package

ev.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ev_watcher_list-tclass
Package

ev.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: ev_watcher_time-tclass
Package

ev.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts


Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   (  
C   D   E   F   G   I   M   S   W  
Index Entry  Section

(
(setf ev-pointer): Private generic functions
(setf ev-pointer): Private generic functions
(setf ev-pointer): Private generic functions
(setf ev-pointer): Private generic functions
(setf ev-pointer): Private generic functions
(setf event-loop): Private generic functions
(setf event-loop): Private generic functions
(setf watcher-slot): Public setf expanders

C
callback-key: Private ordinary functions

D
defanonenum: Private macros

E
ev-callback: Private generic functions
ev-callback: Private generic functions
ev-pointer: Private generic functions
ev-pointer: Private generic functions
ev-pointer: Private generic functions
ev-pointer: Private generic functions
ev-pointer: Private generic functions
event-dispatch: Public generic functions
event-dispatch: Public generic functions
event-dispatch: Public generic functions
event-loop: Private generic functions
event-loop: Private generic functions
ev_async_send: Private ordinary functions
ev_async_start: Private ordinary functions
ev_async_stop: Private ordinary functions
ev_backend: Private ordinary functions
ev_break: Private ordinary functions
ev_check_start: Private ordinary functions
ev_check_stop: Private ordinary functions
ev_child_start: Private ordinary functions
ev_child_stop: Private ordinary functions
ev_cleanup_start: Private ordinary functions
ev_cleanup_stop: Private ordinary functions
ev_clear_pending: Private ordinary functions
ev_default_destroy: Private ordinary functions
ev_default_fork: Private ordinary functions
ev_default_loop: Private ordinary functions
ev_default_loop_uc_: Private ordinary functions
ev_depth: Private ordinary functions
ev_embeddable_backends: Private ordinary functions
ev_embed_start: Private ordinary functions
ev_embed_stop: Private ordinary functions
ev_embed_sweep: Private ordinary functions
ev_feed_event: Private ordinary functions
ev_feed_fd_event: Private ordinary functions
ev_feed_signal: Private ordinary functions
ev_feed_signal_event: Private ordinary functions
ev_fork_start: Private ordinary functions
ev_fork_stop: Private ordinary functions
ev_idle_init: Private ordinary functions
ev_idle_start: Private ordinary functions
ev_idle_stop: Private ordinary functions
ev_init: Private ordinary functions
ev_invoke: Private ordinary functions
ev_invoke_pending: Private ordinary functions
ev_io_init: Private ordinary functions
ev_io_set: Private ordinary functions
ev_io_start: Private ordinary functions
ev_io_stop: Private ordinary functions
ev_is_active: Private ordinary functions
ev_is_default_loop: Private ordinary functions
ev_is_pending: Private ordinary functions
ev_iteration: Private ordinary functions
ev_loop: Private ordinary functions
ev_loop_count: Private ordinary functions
ev_loop_depth: Private ordinary functions
ev_loop_destroy: Private ordinary functions
ev_loop_fork: Private ordinary functions
ev_loop_new: Private ordinary functions
ev_loop_verify: Private ordinary functions
ev_now: Public ordinary functions
ev_now_update: Private ordinary functions
ev_once: Private ordinary functions
ev_pending_count: Private ordinary functions
ev_periodic_again: Private ordinary functions
ev_periodic_init: Private ordinary functions
ev_periodic_set: Private ordinary functions
ev_periodic_start: Private ordinary functions
ev_periodic_stop: Private ordinary functions
ev_prepare_start: Private ordinary functions
ev_prepare_stop: Private ordinary functions
ev_recommended_backends: Private ordinary functions
ev_ref: Private ordinary functions
ev_resume: Private ordinary functions
ev_run: Private ordinary functions
ev_set_allocator: Private ordinary functions
ev_set_invoke_pending_cb: Private ordinary functions
ev_set_io_collect_interval: Private ordinary functions
ev_set_loop_release_cb: Private ordinary functions
ev_set_syserr_cb: Private ordinary functions
ev_set_timeout_collect_interval: Private ordinary functions
ev_set_userdata: Private ordinary functions
ev_signal_init: Private ordinary functions
ev_signal_set: Private ordinary functions
ev_signal_start: Private ordinary functions
ev_signal_stop: Private ordinary functions
ev_sleep: Private ordinary functions
ev_stat_start: Private ordinary functions
ev_stat_stat: Private ordinary functions
ev_stat_stop: Private ordinary functions
ev_supported_backends: Private ordinary functions
ev_suspend: Private ordinary functions
ev_time: Private ordinary functions
ev_timer_again: Private ordinary functions
ev_timer_init: Private ordinary functions
ev_timer_remaining: Private ordinary functions
ev_timer_set: Private ordinary functions
ev_timer_start: Private ordinary functions
ev_timer_stop: Private ordinary functions
ev_unloop: Private ordinary functions
ev_unref: Private ordinary functions
ev_userdata: Private ordinary functions
ev_verify: Private ordinary functions
ev_version_major: Private ordinary functions
ev_version_minor: Private ordinary functions

F
Function, callback-key: Private ordinary functions
Function, ev_async_send: Private ordinary functions
Function, ev_async_start: Private ordinary functions
Function, ev_async_stop: Private ordinary functions
Function, ev_backend: Private ordinary functions
Function, ev_break: Private ordinary functions
Function, ev_check_start: Private ordinary functions
Function, ev_check_stop: Private ordinary functions
Function, ev_child_start: Private ordinary functions
Function, ev_child_stop: Private ordinary functions
Function, ev_cleanup_start: Private ordinary functions
Function, ev_cleanup_stop: Private ordinary functions
Function, ev_clear_pending: Private ordinary functions
Function, ev_default_destroy: Private ordinary functions
Function, ev_default_fork: Private ordinary functions
Function, ev_default_loop: Private ordinary functions
Function, ev_default_loop_uc_: Private ordinary functions
Function, ev_depth: Private ordinary functions
Function, ev_embeddable_backends: Private ordinary functions
Function, ev_embed_start: Private ordinary functions
Function, ev_embed_stop: Private ordinary functions
Function, ev_embed_sweep: Private ordinary functions
Function, ev_feed_event: Private ordinary functions
Function, ev_feed_fd_event: Private ordinary functions
Function, ev_feed_signal: Private ordinary functions
Function, ev_feed_signal_event: Private ordinary functions
Function, ev_fork_start: Private ordinary functions
Function, ev_fork_stop: Private ordinary functions
Function, ev_idle_init: Private ordinary functions
Function, ev_idle_start: Private ordinary functions
Function, ev_idle_stop: Private ordinary functions
Function, ev_init: Private ordinary functions
Function, ev_invoke: Private ordinary functions
Function, ev_invoke_pending: Private ordinary functions
Function, ev_io_init: Private ordinary functions
Function, ev_io_set: Private ordinary functions
Function, ev_io_start: Private ordinary functions
Function, ev_io_stop: Private ordinary functions
Function, ev_is_active: Private ordinary functions
Function, ev_is_default_loop: Private ordinary functions
Function, ev_is_pending: Private ordinary functions
Function, ev_iteration: Private ordinary functions
Function, ev_loop: Private ordinary functions
Function, ev_loop_count: Private ordinary functions
Function, ev_loop_depth: Private ordinary functions
Function, ev_loop_destroy: Private ordinary functions
Function, ev_loop_fork: Private ordinary functions
Function, ev_loop_new: Private ordinary functions
Function, ev_loop_verify: Private ordinary functions
Function, ev_now: Public ordinary functions
Function, ev_now_update: Private ordinary functions
Function, ev_once: Private ordinary functions
Function, ev_pending_count: Private ordinary functions
Function, ev_periodic_again: Private ordinary functions
Function, ev_periodic_init: Private ordinary functions
Function, ev_periodic_set: Private ordinary functions
Function, ev_periodic_start: Private ordinary functions
Function, ev_periodic_stop: Private ordinary functions
Function, ev_prepare_start: Private ordinary functions
Function, ev_prepare_stop: Private ordinary functions
Function, ev_recommended_backends: Private ordinary functions
Function, ev_ref: Private ordinary functions
Function, ev_resume: Private ordinary functions
Function, ev_run: Private ordinary functions
Function, ev_set_allocator: Private ordinary functions
Function, ev_set_invoke_pending_cb: Private ordinary functions
Function, ev_set_io_collect_interval: Private ordinary functions
Function, ev_set_loop_release_cb: Private ordinary functions
Function, ev_set_syserr_cb: Private ordinary functions
Function, ev_set_timeout_collect_interval: Private ordinary functions
Function, ev_set_userdata: Private ordinary functions
Function, ev_signal_init: Private ordinary functions
Function, ev_signal_set: Private ordinary functions
Function, ev_signal_start: Private ordinary functions
Function, ev_signal_stop: Private ordinary functions
Function, ev_sleep: Private ordinary functions
Function, ev_stat_start: Private ordinary functions
Function, ev_stat_stat: Private ordinary functions
Function, ev_stat_stop: Private ordinary functions
Function, ev_supported_backends: Private ordinary functions
Function, ev_suspend: Private ordinary functions
Function, ev_time: Private ordinary functions
Function, ev_timer_again: Private ordinary functions
Function, ev_timer_init: Private ordinary functions
Function, ev_timer_remaining: Private ordinary functions
Function, ev_timer_set: Private ordinary functions
Function, ev_timer_start: Private ordinary functions
Function, ev_timer_stop: Private ordinary functions
Function, ev_unloop: Private ordinary functions
Function, ev_unref: Private ordinary functions
Function, ev_userdata: Private ordinary functions
Function, ev_verify: Private ordinary functions
Function, ev_version_major: Private ordinary functions
Function, ev_version_minor: Private ordinary functions
Function, set-watcher-type-slot: Private ordinary functions
Function, swig-lispify: Private ordinary functions
Function, watcher-type-slot: Private ordinary functions

G
Generic Function, (setf ev-pointer): Private generic functions
Generic Function, (setf event-loop): Private generic functions
Generic Function, ev-callback: Private generic functions
Generic Function, ev-pointer: Private generic functions
Generic Function, event-dispatch: Public generic functions
Generic Function, event-loop: Private generic functions
Generic Function, set-idle: Public generic functions
Generic Function, set-io-watcher: Public generic functions
Generic Function, set-perodic: Private generic functions
Generic Function, set-timer: Public generic functions
Generic Function, set-watcher-slot: Private generic functions
Generic Function, start-watcher: Public generic functions
Generic Function, stop-watcher: Public generic functions
Generic Function, watcher-active-p: Public generic functions
Generic Function, watcher-slot: Public generic functions

I
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods

M
Macro, defanonenum: Private macros
Method, (setf ev-pointer): Private generic functions
Method, (setf ev-pointer): Private generic functions
Method, (setf ev-pointer): Private generic functions
Method, (setf ev-pointer): Private generic functions
Method, (setf event-loop): Private generic functions
Method, ev-callback: Private generic functions
Method, ev-pointer: Private generic functions
Method, ev-pointer: Private generic functions
Method, ev-pointer: Private generic functions
Method, ev-pointer: Private generic functions
Method, event-dispatch: Public generic functions
Method, event-dispatch: Public generic functions
Method, event-loop: Private generic functions
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, set-idle: Public generic functions
Method, set-io-watcher: Public generic functions
Method, set-perodic: Private generic functions
Method, set-timer: Public generic functions
Method, set-watcher-slot: Private generic functions
Method, set-watcher-slot: Private generic functions
Method, start-watcher: Public generic functions
Method, start-watcher: Public generic functions
Method, start-watcher: Public generic functions
Method, start-watcher: Public generic functions
Method, stop-watcher: Public generic functions
Method, stop-watcher: Public generic functions
Method, stop-watcher: Public generic functions
Method, stop-watcher: Public generic functions
Method, stop-watcher: Public generic functions
Method, watcher-active-p: Public generic functions
Method, watcher-slot: Public generic functions
Method, watcher-slot: Public generic functions

S
set-idle: Public generic functions
set-idle: Public generic functions
set-io-watcher: Public generic functions
set-io-watcher: Public generic functions
set-perodic: Private generic functions
set-perodic: Private generic functions
set-timer: Public generic functions
set-timer: Public generic functions
set-watcher-slot: Private generic functions
set-watcher-slot: Private generic functions
set-watcher-slot: Private generic functions
set-watcher-type-slot: Private ordinary functions
Setf Expander, (setf watcher-slot): Public setf expanders
start-watcher: Public generic functions
start-watcher: Public generic functions
start-watcher: Public generic functions
start-watcher: Public generic functions
start-watcher: Public generic functions
stop-watcher: Public generic functions
stop-watcher: Public generic functions
stop-watcher: Public generic functions
stop-watcher: Public generic functions
stop-watcher: Public generic functions
stop-watcher: Public generic functions
swig-lispify: Private ordinary functions

W
watcher-active-p: Public generic functions
watcher-active-p: Public generic functions
watcher-slot: Public generic functions
watcher-slot: Public generic functions
watcher-slot: Public generic functions
watcher-type-slot: Private ordinary functions

Jump to:   (  
C   D   E   F   G   I   M   S   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
C   E   I   P   S   T   W  
Index Entry  Section

*
*callbacks*: Private special variables
*loops*: Private special variables
*reschedule-callbacks*: Private special variables
*watchers*: Private special variables

C
Constant, evbackend_all: Private constants
Constant, evbackend_devpoll: Private constants
Constant, evbackend_epoll: Private constants
Constant, evbackend_kqueue: Private constants
Constant, evbackend_mask: Private constants
Constant, evbackend_poll: Private constants
Constant, evbackend_port: Private constants
Constant, evbackend_select: Private constants
Constant, evbreak_all: Private constants
Constant, evbreak_cancel: Private constants
Constant, evbreak_one: Private constants
Constant, evflag_auto: Private constants
Constant, evflag_forkcheck: Private constants
Constant, evflag_noenv: Private constants
Constant, evflag_noinotify: Private constants
Constant, evflag_nosigfd: Private constants
Constant, evflag_nosigmask: Private constants
Constant, evflag_signalfd: Private constants
Constant, evrun_nowait: Private constants
Constant, evrun_once: Private constants
Constant, ev_async: Private constants
Constant, ev_async_enable: Private constants
Constant, ev_check: Private constants
Constant, ev_check_enable: Private constants
Constant, ev_child: Private constants
Constant, ev_child_enable: Private constants
Constant, ev_cleanup: Private constants
Constant, ev_cleanup_enable: Private constants
Constant, ev_compat3: Private constants
Constant, ev_custom: Private constants
Constant, ev_embed: Private constants
Constant, ev_embed_enable: Private constants
Constant, ev_error: Private constants
Constant, ev_features: Private constants
Constant, ev_feature_api: Private constants
Constant, ev_feature_backends: Private constants
Constant, ev_feature_code: Private constants
Constant, ev_feature_config: Private constants
Constant, ev_feature_data: Private constants
Constant, ev_feature_os: Private constants
Constant, ev_feature_watchers: Private constants
Constant, ev_fork: Private constants
Constant, ev_fork_enable: Private constants
Constant, ev_idle: Private constants
Constant, ev_idle_enable: Private constants
Constant, ev_io: Private constants
Constant, ev_maxpri: Private constants
Constant, ev_minpri: Private constants
Constant, ev_multiplicity: Private constants
Constant, ev_none: Private constants
Constant, ev_periodic: Private constants
Constant, ev_periodic_enable: Private constants
Constant, ev_prepare: Private constants
Constant, ev_prepare_enable: Private constants
Constant, ev_prototypes: Private constants
Constant, ev_read: Public constants
Constant, ev_signal: Private constants
Constant, ev_signal_enable: Private constants
Constant, ev_stat: Private constants
Constant, ev_stat_enable: Private constants
Constant, ev_timeout: Private constants
Constant, ev_timer: Private constants
Constant, ev_undef: Private constants
Constant, ev_version_major: Private constants
Constant, ev_version_minor: Private constants
Constant, ev_walk_enable: Private constants
Constant, ev_write: Public constants
Constant, ev__iofdset: Private constants

E
evbackend_all: Private constants
evbackend_devpoll: Private constants
evbackend_epoll: Private constants
evbackend_kqueue: Private constants
evbackend_mask: Private constants
evbackend_poll: Private constants
evbackend_port: Private constants
evbackend_select: Private constants
evbreak_all: Private constants
evbreak_cancel: Private constants
evbreak_one: Private constants
event-loop: Public classes
evflag_auto: Private constants
evflag_forkcheck: Private constants
evflag_noenv: Private constants
evflag_noinotify: Private constants
evflag_nosigfd: Private constants
evflag_nosigmask: Private constants
evflag_signalfd: Private constants
evrun_nowait: Private constants
evrun_once: Private constants
ev_async: Private constants
ev_async_enable: Private constants
ev_check: Private constants
ev_check_enable: Private constants
ev_child: Private constants
ev_child_enable: Private constants
ev_cleanup: Private constants
ev_cleanup_enable: Private constants
ev_compat3: Private constants
ev_custom: Private constants
ev_embed: Private constants
ev_embed_enable: Private constants
ev_error: Private constants
ev_features: Private constants
ev_feature_api: Private constants
ev_feature_backends: Private constants
ev_feature_code: Private constants
ev_feature_config: Private constants
ev_feature_data: Private constants
ev_feature_os: Private constants
ev_feature_watchers: Private constants
ev_fork: Private constants
ev_fork_enable: Private constants
ev_idle: Private constants
ev_idle_enable: Private constants
ev_io: Private constants
ev_maxpri: Private constants
ev_minpri: Private constants
ev_multiplicity: Private constants
ev_none: Private constants
ev_periodic: Private constants
ev_periodic_enable: Private constants
ev_prepare: Private constants
ev_prepare_enable: Private constants
ev_prototypes: Private constants
ev_read: Public constants
ev_signal: Private constants
ev_signal_enable: Private constants
ev_stat: Private constants
ev_stat_enable: Private constants
ev_timeout: Private constants
ev_timer: Private constants
ev_undef: Private constants
ev_version_major: Private constants
ev_version_minor: Private constants
ev_walk_enable: Private constants
ev_write: Public constants
ev__iofdset: Private constants

I
idle-watcher: Public classes

P
periodic-pointer: Private classes

S
Slot, event-loop: Public classes
Slot, idle-watcher: Public classes
Slot, periodic-pointer: Private classes
Slot, timer-pointer: Public classes
Slot, watcher-pointer: Public classes
Special Variable, *callbacks*: Private special variables
Special Variable, *loops*: Private special variables
Special Variable, *reschedule-callbacks*: Private special variables
Special Variable, *watchers*: Private special variables

T
timer-pointer: Public classes

W
watcher-pointer: Public classes

Jump to:   *  
C   E   I   P   S   T   W  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   C   E   F   M   P   S  
Index Entry  Section

C
cffi.lisp: The ev/src/cffi․lisp file
Class, ev-idle: Public classes
Class, ev-io-watcher: Public classes
Class, ev-loop: Public classes
Class, ev-periodic: Private classes
Class, ev-timer: Public classes
Class, ev-watcher: Public classes
Class, ev_async-tclass: Private classes
Class, ev_check-tclass: Private classes
Class, ev_child-tclass: Private classes
Class, ev_cleanup-tclass: Private classes
Class, ev_embed-tclass: Private classes
Class, ev_fork-tclass: Private classes
Class, ev_idle-tclass: Private classes
Class, ev_io-tclass: Private classes
Class, ev_periodic-tclass: Private classes
Class, ev_prepare-tclass: Private classes
Class, ev_signal-tclass: Private classes
Class, ev_stat-tclass: Private classes
Class, ev_timer-tclass: Private classes
Class, ev_watcher-tclass: Private classes
Class, ev_watcher_list-tclass: Private classes
Class, ev_watcher_time-tclass: Private classes

E
ev: The ev system
ev: The ev package
ev-idle: Public classes
ev-io-watcher: Public classes
ev-loop: Public classes
ev-periodic: Private classes
ev-system: The ev-system package
ev-timer: Public classes
ev-watcher: Public classes
ev.asd: The ev/ev․asd file
ev.lisp: The ev/src/ev․lisp file
ev_async-tclass: Private classes
ev_check-tclass: Private classes
ev_child-tclass: Private classes
ev_cleanup-tclass: Private classes
ev_embed-tclass: Private classes
ev_fork-tclass: Private classes
ev_idle-tclass: Private classes
ev_io-tclass: Private classes
ev_periodic-tclass: Private classes
ev_prepare-tclass: Private classes
ev_signal-tclass: Private classes
ev_stat-tclass: Private classes
ev_timer-tclass: Private classes
ev_watcher-tclass: Private classes
ev_watcher_list-tclass: Private classes
ev_watcher_time-tclass: Private classes

F
File, cffi.lisp: The ev/src/cffi․lisp file
File, ev.asd: The ev/ev․asd file
File, ev.lisp: The ev/src/ev․lisp file
File, package.lisp: The ev/src/package․lisp file

M
Module, src: The ev/src module

P
Package, ev: The ev package
Package, ev-system: The ev-system package
package.lisp: The ev/src/package․lisp file

S
src: The ev/src module
System, ev: The ev system

Jump to:   C   E   F   M   P   S