The laap Reference Manual

This is the laap Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 06:34:40 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 laap

A Common Lisp multi-threaded event loop.

Author

Florian Margaine <>

License

MIT

Dependencies
  • cffi (system).
  • bordeaux-threads (system).
  • uiop (system).
  • cl-ppcre (system).
  • cl-base32 (system).
Source

laap.asd.

Child Components

3 Modules

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


3.1 laap/core

Source

laap.asd.

Parent Component

laap (system).

Child Components

3.2 laap/socket

Dependency

core (module).

Source

laap.asd.

Parent Component

laap (system).

Child Components

3.3 laap/fs

Dependency

socket (module).

Source

laap.asd.

Parent Component

laap (system).

Child Components

4 Files

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


4.1 Lisp


4.1.1 laap/laap.asd

Source

laap.asd.

Parent Component

laap (system).

ASDF Systems

laap.


4.1.2 laap/core/package.lisp

Source

laap.asd.

Parent Component

core (module).

Packages

laap.


4.1.3 laap/core/laap.lisp

Dependencies
Source

laap.asd.

Parent Component

core (module).

Public Interface
Internals

4.1.4 laap/core/cffi.lisp

Dependency

package.lisp (file).

Source

laap.asd.

Parent Component

core (module).

Public Interface

errno (symbol macro).

Internals

4.1.5 laap/core/timer.lisp

Dependencies
Source

laap.asd.

Parent Component

core (module).

Public Interface
Internals

4.1.6 laap/core/loop.lisp

Dependencies
Source

laap.asd.

Parent Component

core (module).

Public Interface
Internals

4.1.7 laap/core/thread-pool.lisp

Dependencies
Source

laap.asd.

Parent Component

core (module).

Public Interface
Internals

4.1.8 laap/core/condition.lisp

Dependency

package.lisp (file).

Source

laap.asd.

Parent Component

core (module).

Public Interface

4.1.9 laap/socket/package.lisp

Source

laap.asd.

Parent Component

socket (module).

Packages

laap/socket.


4.1.10 laap/socket/socket.lisp

Dependencies
Source

laap.asd.

Parent Component

socket (module).

Public Interface
Internals

4.1.11 laap/socket/cffi.lisp

Dependency

package.lisp (file).

Source

laap.asd.

Parent Component

socket (module).

Internals

4.1.12 laap/fs/package.lisp

Source

laap.asd.

Parent Component

fs (module).

Packages

laap/fs.


4.1.13 laap/fs/cffi.lisp

Dependency

package.lisp (file).

Source

laap.asd.

Parent Component

fs (module).

Internals

4.1.14 laap/fs/fs.lisp

Dependencies
Source

laap.asd.

Parent Component

fs (module).

Public Interface
Internals

5 Packages

Packages are listed by definition order.


5.1 laap/socket

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

5.2 laap/fs

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

5.3 laap

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

6 Definitions

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


6.1 Public Interface


6.1.1 Special variables

Special Variable: *recv-buffer-length*
Package

laap.

Source

loop.lisp.


6.1.2 Symbol macros

Symbol Macro: errno
Package

laap.

Source

cffi.lisp.


6.1.3 Macros

Macro: with-blocking-thread (name &body body)
Package

laap.

Source

thread-pool.lisp.

Macro: with-event-loop (&body body)

Run code in the laap event loop.

Package

laap.

Source

laap.lisp.


6.1.4 Ordinary functions

Function: add-reporter (reporter)
Package

laap.

Source

thread-pool.lisp.

Function: delay (seconds callback)

Run a callback in a specified amount of seconds.

Package

laap.

Source

timer.lisp.

Make a hard-link from newpath to oldpath.

Package

laap/fs.

Source

fs.lisp.

Function: noop (err res)
Package

laap.

Source

laap.lisp.

Readlink pathname.

Package

laap/fs.

Source

fs.lisp.

Function: rename (callback &key oldpath newpath)

Rename oldpath to newpath.

Package

laap/fs.

Source

fs.lisp.

Function: spawn (callback)

Immediately run a callback.

Package

laap.

Source

timer.lisp.

Make a symbolic link at linkpath pointing to target.

Package

laap/fs.

Source

fs.lisp.

Unlink pathname.

Package

laap/fs.

Source

fs.lisp.


6.1.5 Generic functions

Generic Function: accept (socket callback &key)

Accept a connection from a socket.

Package

laap/socket.

Source

socket.lisp.

Methods
Method: accept ((socket ipv4-tcp-socket) callback &key)
Generic Function: add-timer (timer)

Add a timer to the event loop.

Package

laap.

Source

timer.lisp.

Methods
Method: add-timer (timer)
Generic Reader: callback (object)
Package

laap.

Methods
Reader Method: callback ((new-thread-action new-thread-action))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

callback.

Reader Method: callback ((timer timer))

automatically generated reader method

Source

timer.lisp.

Target Slot

callback.

Generic Function: close (socket callback &key)

Close the socket.

Package

laap/socket.

Source

socket.lisp.

Methods
Method: close ((socket ipv4-tcp-socket) callback &key)
Generic Function: close (file callback)

Close the backed file.

Package

laap/fs.

Source

fs.lisp.

Methods
Method: close (file callback)
Generic Function: connect (socket callback &key ip port)

Connect the socket.

Package

laap/socket.

Source

socket.lisp.

Methods
Method: connect ((socket ipv4-tcp-socket) callback &key ip port)
Generic Reader: direction (object)
Package

laap.

Methods
Reader Method: direction ((timer timer))

automatically generated reader method

Source

timer.lisp.

Target Slot

direction.

Generic Reader: errno (condition)
Package

laap.

Methods
Reader Method: errno ((condition os-error))
Source

condition.lisp.

Target Slot

errno.

Generic Reader: fd (object)
Package

laap.

Methods
Reader Method: fd ((timer timer))

automatically generated reader method

Source

timer.lisp.

Target Slot

fd.

Generic Function: handle-error (timer err)

Handles an error for a timer.

Package

laap.

Source

timer.lisp.

Methods
Method: handle-error ((timer socket-timer) error)
Source

socket.lisp.

Method: handle-error ((timer timer-timer) error)
Generic Function: handle-event (timer)

Handles an event for a timer.

Package

laap.

Source

timer.lisp.

Methods
Method: handle-event ((timer timer-socket-accept))
Source

socket.lisp.

Method: handle-event ((timer timer-socket-receive))
Source

socket.lisp.

Method: handle-event ((timer timer-socket-send))
Source

socket.lisp.

Method: handle-event ((timer timer-socket-connect))
Source

socket.lisp.

Method: handle-event ((timer timer-timer))
Generic Function: listen (socket callback &key ip port backlog)

Listen on a socket.

Package

laap/socket.

Source

socket.lisp.

Methods
Method: listen ((socket ipv4-tcp-socket) callback &key ip port backlog)
Generic Function: read (file callback &key count)

Read a specified amount of bytes from a file.

Package

laap/fs.

Source

fs.lisp.

Methods
Method: read (file callback &key count)
Generic Function: receive (socket callback &key end)

Receive data from a socket.

Package

laap/socket.

Source

socket.lisp.

Methods
Method: receive ((socket ipv4-tcp-socket) callback &key end)
Generic Function: remove-timer (timer)

Remove a timer from the event loop.

Package

laap.

Source

timer.lisp.

Methods
Method: remove-timer (timer)
Generic Function: send (socket callback &key data)

Send data over a socket.

Package

laap/socket.

Source

socket.lisp.

Methods
Method: send ((socket ipv4-tcp-socket) callback &key data)
Generic Function: truncate (file callback &key length)

Truncate a file to a specified length.

Package

laap/fs.

Source

fs.lisp.

Methods
Method: truncate (file callback &key length)
Generic Function: write (file callback &key data)

Write specified data to a file.

Package

laap/fs.

Source

fs.lisp.

Methods
Method: write (file callback &key data)

6.1.6 Standalone methods

Method: initialize-instance :after ((socket ipv4-tcp-socket) &key)
Source

socket.lisp.

Method: initialize-instance :after ((file file) &key)
Source

fs.lisp.

Method: initialize-instance ((pool thread-pool) &key)
Source

thread-pool.lisp.

Method: initialize-instance ((loop event-loop) &key)
Source

loop.lisp.

Method: initialize-instance ((item action-queue-item) &key)
Source

thread-pool.lisp.

Method: print-object ((condition os-error) stream)
Source

condition.lisp.


6.1.7 Conditions

Condition: epoll-error
Package

laap.

Source

condition.lisp.

Direct superclasses

condition.

Condition: os-error
Package

laap.

Source

condition.lisp.

Direct superclasses

condition.

Direct methods
Direct slots
Slot: errno
Initargs

:errno

Readers

errno.

Writers

This slot is read-only.


6.1.8 Classes

Class: file

An object abstracting over a file.

Package

laap/fs.

Source

fs.lisp.

Direct methods
Direct slots
Slot: path
Initargs

:path

Readers

path.

Writers

(setf path).

Slot: fd
Readers

fd.

Writers

(setf fd).

Slot: direction
Type

laap/fs::direction

Initargs

:direction

Readers

direction.

Writers

This slot is read-only.

Slot: if-does-not-exist
Type

laap/fs::if-does-not-exist

Initargs

:if-does-not-exist

Readers

if-does-not-exist.

Writers

(setf if-does-not-exist).

Class: ipv4-tcp-socket

Implementation of an IPv4 TCP socket.

Package

laap/socket.

Source

socket.lisp.

Direct superclasses

socket.

Direct methods
Class: timer

A timer is an object whose file descriptor is added
to epoll, used to maintain the mapping between the file descriptor and the callback, at the minimum. Other fields can be used for further synchronization and bookkeeping matters.

Package

laap.

Source

timer.lisp.

Direct subclasses
Direct methods
Direct slots
Slot: fd
Initargs

:fd

Readers

fd.

Writers

This slot is read-only.

Slot: direction
Initargs

:direction

Readers

direction.

Writers

This slot is read-only.

Slot: callback
Initargs

:callback

Readers

callback.

Writers

This slot is read-only.

Slot: closed
Readers

closed.

Writers

(setf closed).


6.2 Internals


6.2.1 Constants

Constant: +af-inet+
Package

laap/socket.

Source

cffi.lisp.

Constant: +clock-monotonic+
Package

laap.

Source

cffi.lisp.

Constant: +eagain+
Package

laap/socket.

Source

cffi.lisp.

Constant: +ebadf+
Package

laap.

Source

cffi.lisp.

Constant: +eexist+
Package

laap.

Source

cffi.lisp.

Constant: +efault+
Package

laap.

Source

cffi.lisp.

Constant: +einprogress+
Package

laap/socket.

Source

cffi.lisp.

Constant: +eintr+
Package

laap/fs.

Source

cffi.lisp.

Constant: +eintr+
Package

laap.

Source

cffi.lisp.

Constant: +einval+
Package

laap.

Source

cffi.lisp.

Constant: +eloop+
Package

laap.

Source

cffi.lisp.

Constant: +enoent+
Package

laap.

Source

cffi.lisp.

Constant: +enomem+
Package

laap.

Source

cffi.lisp.

Constant: +enospc+
Package

laap.

Source

cffi.lisp.

Constant: +eperm+
Package

laap.

Source

cffi.lisp.

Constant: +epoll-cloexec+
Package

laap.

Source

cffi.lisp.

Constant: +epoll-ctl-add+
Package

laap.

Source

cffi.lisp.

Constant: +epoll-ctl-del+
Package

laap.

Source

cffi.lisp.

Constant: +epoll-ctl-mod+
Package

laap.

Source

cffi.lisp.

Constant: +epollerr+
Package

laap.

Source

cffi.lisp.

Constant: +epollet+
Package

laap.

Source

cffi.lisp.

Constant: +epollhup+
Package

laap.

Source

cffi.lisp.

Constant: +epollin+
Package

laap/socket.

Source

cffi.lisp.

Constant: +epollin+
Package

laap.

Source

cffi.lisp.

Constant: +epolloneshot+
Package

laap.

Source

cffi.lisp.

Constant: +epollout+
Package

laap/socket.

Source

cffi.lisp.

Constant: +epollout+
Package

laap.

Source

cffi.lisp.

Constant: +epollpri+
Package

laap.

Source

cffi.lisp.

Constant: +ewouldblock+
Package

laap/socket.

Source

cffi.lisp.

Constant: +f-getfl+
Package

laap/socket.

Source

cffi.lisp.

Constant: +f-setfl+
Package

laap/socket.

Source

cffi.lisp.

Constant: +msg-nosignal+
Package

laap/socket.

Source

cffi.lisp.

Constant: +o-cloexec+
Package

laap.

Source

cffi.lisp.

Constant: +o-create+
Package

laap/fs.

Source

cffi.lisp.

Constant: +o-nonblock+
Package

laap/socket.

Source

cffi.lisp.

Constant: +o-nonblock+
Package

laap.

Source

cffi.lisp.

Constant: +o-read-only+
Package

laap/fs.

Source

cffi.lisp.

Constant: +o-read-write+
Package

laap/fs.

Source

cffi.lisp.

Constant: +o-write-only+
Package

laap/fs.

Source

cffi.lisp.

Constant: +path-max+
Package

laap/fs.

Source

cffi.lisp.

Constant: +so-error+
Package

laap/socket.

Source

cffi.lisp.

Constant: +sock-nonblock+
Package

laap/socket.

Source

cffi.lisp.

Constant: +sock-stream+
Package

laap/socket.

Source

cffi.lisp.

Constant: +sol-socket+
Package

laap/socket.

Source

cffi.lisp.

Constant: +tfd-cloexec+
Package

laap.

Source

cffi.lisp.


6.2.2 Special variables

Special Variable: *loop*
Package

laap.

Source

laap.lisp.

Special Variable: *thread-pool*
Package

laap.

Source

laap.lisp.

Special Variable: *thread-should-exit*
Package

laap.

Source

thread-pool.lisp.


6.2.3 Symbol macros

Symbol Macro: errno
Package

laap/socket.

Source

cffi.lisp.

Symbol Macro: errno
Package

laap/fs.

Source

cffi.lisp.


6.2.4 Ordinary functions

Function: %add-event (efd fd direction)
Package

laap.

Source

loop.lisp.

Function: %add-to-queue (action)
Package

laap.

Source

thread-pool.lisp.

Function: %pipe2 (pipefds flags)
Package

laap.

Source

cffi.lisp.

Function: %var-accessor-errno ()
Package

laap/socket.

Source

cffi.lisp.

Function: (setf %var-accessor-errno) ()
Package

laap/socket.

Source

cffi.lisp.

Function: %var-accessor-errno ()
Package

laap/fs.

Source

cffi.lisp.

Function: (setf %var-accessor-errno) ()
Package

laap/fs.

Source

cffi.lisp.

Function: %var-accessor-errno ()
Package

laap.

Source

cffi.lisp.

Function: (setf %var-accessor-errno) ()
Package

laap.

Source

cffi.lisp.

Function: add-event (efd timerfd timer)
Package

laap.

Source

loop.lisp.

Function: add-thread (fn)
Package

laap.

Source

thread-pool.lisp.

Function: add-timer-in (seconds callback)
Package

laap.

Source

timer.lisp.

Function: add-to-action-queue (action value)
Package

laap.

Source

thread-pool.lisp.

Function: add-to-queue (action)
Package

laap.

Source

thread-pool.lisp.

Function: c-accept (sockfd addr addrlen flags)
Package

laap/socket.

Source

cffi.lisp.

Function: c-bind (sockfd addr addrlen)
Package

laap/socket.

Source

cffi.lisp.

Function: c-buffer-to-lisp-buffer (c-buffer lisp-buffer length offset)
Package

laap/fs.

Source

fs.lisp.

Function: c-close (fd)
Package

laap/socket.

Source

cffi.lisp.

Function: c-close (fd)
Package

laap/fs.

Source

cffi.lisp.

Function: c-close (fd)
Package

laap.

Source

cffi.lisp.

Function: c-connect (sockfd addr addrlen)
Package

laap/socket.

Source

cffi.lisp.

Function: c-ftruncate (fd length)
Package

laap/fs.

Source

cffi.lisp.

Package

laap/fs.

Source

cffi.lisp.

Function: c-listen (sockfd backlog)
Package

laap/socket.

Source

cffi.lisp.

Function: c-lstat (pathname stat)
Package

laap/fs.

Source

cffi.lisp.

Function: c-open (pathname flags)
Package

laap/fs.

Source

cffi.lisp.

Function: c-read (fd buf count)
Package

laap/fs.

Source

cffi.lisp.

Package

laap/fs.

Source

cffi.lisp.

Function: c-recv (sockfd buf len flags)
Package

laap/socket.

Source

cffi.lisp.

Function: c-rename (oldpath newpath)
Package

laap/fs.

Source

cffi.lisp.

Function: c-send (sockfd buf len flags)
Package

laap/socket.

Source

cffi.lisp.

Function: c-socket (domain type protocol)
Package

laap/socket.

Source

cffi.lisp.

Package

laap/fs.

Source

cffi.lisp.

Package

laap/fs.

Source

cffi.lisp.

Function: c-write (fd buf count)
Package

laap/fs.

Source

cffi.lisp.

Function: c-write (fd buf count)
Package

laap.

Source

cffi.lisp.

Function: cores-count ()
Package

laap.

Source

loop.lisp.

Function: epoll-create1 (flags)
Package

laap.

Source

cffi.lisp.

Function: epoll-ctl (epfd op fd event)
Package

laap.

Source

cffi.lisp.

Function: epoll-wait (epfd events maxevents timeout)
Package

laap.

Source

cffi.lisp.

Function: event-loop-action ()
Package

laap.

Source

thread-pool.lisp.

Function: exit-event-loop-p ()
Package

laap.

Source

loop.lisp.

Function: fcntl (fd cmd flags)
Package

laap/socket.

Source

cffi.lisp.

Function: find-recv-buffer-length ()
Package

laap.

Source

loop.lisp.

Function: getrandom (count)
Package

laap.

Source

thread-pool.lisp.

Function: getsockopt (sockfd level optname optval optlen)
Package

laap/socket.

Source

cffi.lisp.

Function: htons (hostshort)
Package

laap/socket.

Source

cffi.lisp.

Function: inet-aton (cp inp)
Package

laap/socket.

Source

cffi.lisp.

Function: lisp-buffer-to-c-buffer (lisp-buffer c-buffer length offset)
Package

laap/fs.

Source

fs.lisp.

Function: main-loop (efd)
Package

laap.

Source

loop.lisp.

Function: pipe ()
Package

laap.

Source

cffi.lisp.

Function: quit-event-loop ()
Package

laap.

Source

thread-pool.lisp.

Function: start-event-loops ()
Package

laap.

Source

loop.lisp.

Function: start-thread-pool ()
Package

laap.

Source

thread-pool.lisp.

Function: strerror (errnum)
Package

laap/socket.

Source

cffi.lisp.

Function: strerror (errnum)
Package

laap/fs.

Source

cffi.lisp.

Function: strerror (errnum)
Package

laap.

Source

cffi.lisp.

Function: timerfd-create (clockid flags)
Package

laap.

Source

cffi.lisp.

Function: timerfd-gettime (fd curr-value)
Package

laap.

Source

cffi.lisp.

Function: timerfd-settime (fd flags new-value old-value)
Package

laap.

Source

cffi.lisp.

Function: wait-from-action-queue (action)
Package

laap.

Source

thread-pool.lisp.


6.2.5 Generic functions

Generic Reader: action-queue (object)
Package

laap.

Methods
Reader Method: action-queue ((thread-pool thread-pool))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

action-queue.

Generic Writer: (setf action-queue) (object)
Package

laap.

Methods
Writer Method: (setf action-queue) ((thread-pool thread-pool))

automatically generated writer method

Source

thread-pool.lisp.

Target Slot

action-queue.

Generic Reader: action-queue-lock (object)
Package

laap.

Methods
Reader Method: action-queue-lock ((thread-pool thread-pool))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

action-queue-lock.

Generic Writer: (setf action-queue-lock) (object)
Package

laap.

Methods
Writer Method: (setf action-queue-lock) ((thread-pool thread-pool))

automatically generated writer method

Source

thread-pool.lisp.

Target Slot

action-queue-lock.

Generic Reader: blocking (object)
Package

laap.

Methods
Reader Method: blocking ((thread-properties thread-properties))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

blocking.

Generic Writer: (setf blocking) (object)
Package

laap.

Methods
Writer Method: (setf blocking) ((thread-properties thread-properties))

automatically generated writer method

Source

thread-pool.lisp.

Target Slot

blocking.

Generic Reader: closed (object)
Package

laap.

Methods
Reader Method: closed ((timer timer))

automatically generated reader method

Source

timer.lisp.

Target Slot

closed.

Generic Writer: (setf closed) (object)
Package

laap.

Methods
Writer Method: (setf closed) ((timer timer))

automatically generated writer method

Source

timer.lisp.

Target Slot

closed.

Generic Reader: data (object)
Package

laap/socket.

Methods
Reader Method: data ((timer-socket-send timer-socket-send))

automatically generated reader method

Source

socket.lisp.

Target Slot

data.

Generic Writer: (setf data) (object)
Package

laap/socket.

Methods
Writer Method: (setf data) ((timer-socket-send timer-socket-send))

automatically generated writer method

Source

socket.lisp.

Target Slot

data.

Generic Reader: direction (object)
Package

laap/fs.

Methods
Reader Method: direction ((file file))

automatically generated reader method

Source

fs.lisp.

Target Slot

direction.

Generic Reader: efd (object)
Package

laap.

Methods
Reader Method: efd ((event-loop event-loop))

automatically generated reader method

Source

loop.lisp.

Target Slot

efd.

Generic Writer: (setf efd) (object)
Package

laap.

Methods
Writer Method: (setf efd) ((event-loop event-loop))

automatically generated writer method

Source

loop.lisp.

Target Slot

efd.

Generic Reader: end-callback (object)
Package

laap/socket.

Methods
Reader Method: end-callback ((timer-socket-receive timer-socket-receive))

automatically generated reader method

Source

socket.lisp.

Target Slot

end-callback.

Generic Reader: err (object)
Package

laap.

Methods
Reader Method: err ((thread-error thread-error))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

err.

Generic Reader: event (object)
Package

laap.

Methods
Reader Method: event ((action-queue-item action-queue-item))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

event.

Reader Method: event ((thread-pool thread-pool))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

event.

Generic Writer: (setf event) (object)
Package

laap.

Methods
Writer Method: (setf event) ((action-queue-item action-queue-item))

automatically generated writer method

Source

thread-pool.lisp.

Target Slot

event.

Writer Method: (setf event) ((thread-pool thread-pool))

automatically generated writer method

Source

thread-pool.lisp.

Target Slot

event.

Generic Function: execute (action)

Execute an action.

Package

laap.

Source

thread-pool.lisp.

Methods
Method: execute ((action unblocking-action))
Method: execute ((action blocking-action))
Method: execute ((action thread-error))
Method: execute ((action new-thread-action))
Generic Reader: fd (object)
Package

laap/socket.

Methods
Reader Method: fd ((socket socket))

automatically generated reader method

Source

socket.lisp.

Target Slot

fd.

Generic Reader: fd (object)
Package

laap/fs.

Methods
Reader Method: fd ((file file))

automatically generated reader method

Source

fs.lisp.

Target Slot

fd.

Generic Writer: (setf fd) (object)
Package

laap/fs.

Methods
Writer Method: (setf fd) ((file file))

automatically generated writer method

Source

fs.lisp.

Target Slot

fd.

Generic Reader: if-does-not-exist (object)
Package

laap/fs.

Methods
Reader Method: if-does-not-exist ((file file))

automatically generated reader method

Source

fs.lisp.

Target Slot

if-does-not-exist.

Generic Writer: (setf if-does-not-exist) (object)
Package

laap/fs.

Methods
Writer Method: (setf if-does-not-exist) ((file file))

automatically generated writer method

Source

fs.lisp.

Target Slot

if-does-not-exist.

Generic Reader: lock (object)
Package

laap.

Methods
Reader Method: lock ((action-queue-item action-queue-item))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

lock.

Reader Method: lock ((thread-pool thread-pool))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

lock.

Generic Writer: (setf lock) (object)
Package

laap.

Methods
Writer Method: (setf lock) ((action-queue-item action-queue-item))

automatically generated writer method

Source

thread-pool.lisp.

Target Slot

lock.

Writer Method: (setf lock) ((thread-pool thread-pool))

automatically generated writer method

Source

thread-pool.lisp.

Target Slot

lock.

Generic Reader: max-event-loops (object)
Package

laap.

Methods
Reader Method: max-event-loops ((thread-pool thread-pool))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

max-event-loops.

Generic Writer: (setf max-event-loops) (object)
Package

laap.

Methods
Writer Method: (setf max-event-loops) ((thread-pool thread-pool))

automatically generated writer method

Source

thread-pool.lisp.

Target Slot

max-event-loops.

Generic Reader: path (object)
Package

laap/fs.

Methods
Reader Method: path ((file file))

automatically generated reader method

Source

fs.lisp.

Target Slot

path.

Generic Writer: (setf path) (object)
Package

laap/fs.

Methods
Writer Method: (setf path) ((file file))

automatically generated writer method

Source

fs.lisp.

Target Slot

path.

Generic Reader: queue (object)
Package

laap.

Methods
Reader Method: queue ((thread-pool thread-pool))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

queue.

Generic Writer: (setf queue) (object)
Package

laap.

Methods
Writer Method: (setf queue) ((thread-pool thread-pool))

automatically generated writer method

Source

thread-pool.lisp.

Target Slot

queue.

Generic Reader: reporters (object)
Package

laap.

Methods
Reader Method: reporters ((thread-pool thread-pool))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

reporters.

Generic Writer: (setf reporters) (object)
Package

laap.

Methods
Writer Method: (setf reporters) ((thread-pool thread-pool))

automatically generated writer method

Source

thread-pool.lisp.

Target Slot

reporters.

Generic Reader: reporters-lock (object)
Package

laap.

Methods
Reader Method: reporters-lock ((thread-pool thread-pool))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

reporters-lock.

Generic Writer: (setf reporters-lock) (object)
Package

laap.

Methods
Writer Method: (setf reporters-lock) ((thread-pool thread-pool))

automatically generated writer method

Source

thread-pool.lisp.

Target Slot

reporters-lock.

Generic Reader: result (object)
Package

laap.

Methods
Reader Method: result ((action-queue-item action-queue-item))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

result.

Generic Writer: (setf result) (object)
Package

laap.

Methods
Writer Method: (setf result) ((action-queue-item action-queue-item))

automatically generated writer method

Source

thread-pool.lisp.

Target Slot

result.

Generic Reader: socket-domain (object)
Package

laap/socket.

Methods
Reader Method: socket-domain ((socket socket))

automatically generated reader method

Source

socket.lisp.

Target Slot

domain.

Generic Reader: socket-protocol (object)
Package

laap/socket.

Methods
Reader Method: socket-protocol ((socket socket))

automatically generated reader method

Source

socket.lisp.

Target Slot

protocol.

Generic Reader: socket-type (object)
Package

laap/socket.

Methods
Reader Method: socket-type ((socket socket))

automatically generated reader method

Source

socket.lisp.

Target Slot

type.

Generic Reader: started (object)
Package

laap.

Methods
Reader Method: started ((event-loop event-loop))

automatically generated reader method

Source

loop.lisp.

Target Slot

started.

Generic Writer: (setf started) (object)
Package

laap.

Methods
Writer Method: (setf started) ((event-loop event-loop))

automatically generated writer method

Source

loop.lisp.

Target Slot

started.

Generic Reader: thread (object)
Package

laap.

Methods
Reader Method: thread ((unblocking-action unblocking-action))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

thread.

Reader Method: thread ((blocking-action blocking-action))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

thread.

Reader Method: thread ((thread-error thread-error))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

thread.

Generic Reader: threads (object)
Package

laap.

Methods
Reader Method: threads ((thread-pool thread-pool))

automatically generated reader method

Source

thread-pool.lisp.

Target Slot

threads.

Generic Writer: (setf threads) (object)
Package

laap.

Methods
Writer Method: (setf threads) ((thread-pool thread-pool))

automatically generated writer method

Source

thread-pool.lisp.

Target Slot

threads.

Generic Reader: timers (object)
Package

laap.

Methods
Reader Method: timers ((event-loop event-loop))

automatically generated reader method

Source

loop.lisp.

Target Slot

timers.

Generic Writer: (setf timers) (object)
Package

laap.

Methods
Writer Method: (setf timers) ((event-loop event-loop))

automatically generated writer method

Source

loop.lisp.

Target Slot

timers.

Generic Reader: timers-lock (object)
Package

laap.

Methods
Reader Method: timers-lock ((event-loop event-loop))

automatically generated reader method

Source

loop.lisp.

Target Slot

timers-lock.

Generic Writer: (setf timers-lock) (object)
Package

laap.

Methods
Writer Method: (setf timers-lock) ((event-loop event-loop))

automatically generated writer method

Source

loop.lisp.

Target Slot

timers-lock.


6.2.6 Classes

Class: action
Package

laap.

Source

thread-pool.lisp.

Direct subclasses
Class: action-queue-item
Package

laap.

Source

thread-pool.lisp.

Direct methods
Direct slots
Slot: lock
Readers

lock.

Writers

(setf lock).

Slot: event
Readers

event.

Writers

(setf event).

Slot: result
Readers

result.

Writers

(setf result).

Class: blocking-action
Package

laap.

Source

thread-pool.lisp.

Direct superclasses

action.

Direct methods
Direct slots
Slot: thread
Initargs

:thread

Readers

thread.

Writers

This slot is read-only.

Class: epoll-event-tclass
Package

laap.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: event-loop
Package

laap.

Source

loop.lisp.

Direct methods
Direct slots
Slot: timers
Readers

timers.

Writers

(setf timers).

Slot: timers-lock
Readers

timers-lock.

Writers

(setf timers-lock).

Slot: efd
Readers

efd.

Writers

(setf efd).

Slot: started
Readers

started.

Writers

(setf started).

Class: in-addr-tclass
Package

laap/socket.

Source

cffi.lisp.

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

laap.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: new-thread-action
Package

laap.

Source

thread-pool.lisp.

Direct superclasses

action.

Direct methods
Direct slots
Slot: callback
Initargs

:callback

Readers

callback.

Writers

This slot is read-only.

Class: sockaddr-in-tclass
Package

laap/socket.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: socket

An object abstracting over a socket.

Package

laap/socket.

Source

socket.lisp.

Direct subclasses

ipv4-tcp-socket.

Direct methods
Direct slots
Slot: fd
Initargs

:fd

Readers

fd.

Writers

This slot is read-only.

Slot: domain
Readers

socket-domain.

Writers

This slot is read-only.

Slot: type
Package

common-lisp.

Readers

socket-type.

Writers

This slot is read-only.

Slot: protocol
Readers

socket-protocol.

Writers

This slot is read-only.

Class: socket-timer

A socket-based event loop timer.

Package

laap/socket.

Source

socket.lisp.

Direct superclasses

timer.

Direct subclasses
Direct methods

handle-error.

Class: stat-tclass
Package

laap/fs.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: thread-error
Package

laap.

Source

thread-pool.lisp.

Direct superclasses

action.

Direct methods
Direct slots
Slot: thread
Initargs

:thread

Readers

thread.

Writers

This slot is read-only.

Slot: err
Initargs

:error

Readers

err.

Writers

This slot is read-only.

Class: thread-pool
Package

laap.

Source

thread-pool.lisp.

Direct methods
Direct slots
Slot: event
Readers

event.

Writers

(setf event).

Slot: queue
Readers

queue.

Writers

(setf queue).

Slot: lock
Readers

lock.

Writers

(setf lock).

Slot: threads
Readers

threads.

Writers

(setf threads).

Slot: max-event-loops
Readers

max-event-loops.

Writers

(setf max-event-loops).

Slot: action-queue
Readers

action-queue.

Writers

(setf action-queue).

Slot: action-queue-lock
Readers

action-queue-lock.

Writers

(setf action-queue-lock).

Slot: reporters
Readers

reporters.

Writers

(setf reporters).

Slot: reporters-lock
Readers

reporters-lock.

Writers

(setf reporters-lock).

Class: thread-properties
Package

laap.

Source

thread-pool.lisp.

Direct methods
Direct slots
Slot: blocking
Initargs

:blocking

Readers

blocking.

Writers

(setf blocking).

Class: timer-socket-accept

Event loop timer for the socket’s accept method.

Package

laap/socket.

Source

socket.lisp.

Direct superclasses

socket-timer.

Direct methods

handle-event.

Direct slots
Slot: direction
Package

laap.

Initform

laap/socket::+epollin+

Class: timer-socket-connect

Event loop timer for the socket’s connect method.

Package

laap/socket.

Source

socket.lisp.

Direct superclasses

socket-timer.

Direct methods

handle-event.

Direct slots
Slot: direction
Package

laap.

Initform

laap/socket::+epollout+

Class: timer-socket-receive

Event loop timer for the socket’s receive method.

Package

laap/socket.

Source

socket.lisp.

Direct superclasses

socket-timer.

Direct methods
Direct slots
Slot: direction
Package

laap.

Initform

laap/socket::+epollin+

Slot: end-callback
Initargs

:end-callback

Readers

end-callback.

Writers

This slot is read-only.

Class: timer-socket-send

Event loop timer for the socket’s send method.

Package

laap/socket.

Source

socket.lisp.

Direct superclasses

socket-timer.

Direct methods
Direct slots
Slot: direction
Package

laap.

Initform

laap/socket::+epollout+

Slot: data
Initargs

:data

Readers

data.

Writers

(setf data).

Class: timer-timer

A POSIX timer-based timer. Used to run callbacks in a given amount of time.

Package

laap.

Source

timer.lisp.

Direct superclasses

timer.

Direct methods
Direct slots
Slot: direction
Initform

laap::+epollin+

Class: timespec-tclass
Package

laap.

Source

cffi.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.
Class: unblocking-action
Package

laap.

Source

thread-pool.lisp.

Direct superclasses

action.

Direct methods
Direct slots
Slot: thread
Initargs

:thread

Readers

thread.

Writers

This slot is read-only.


6.2.7 Types

Type: direction ()
Package

laap/fs.

Source

fs.lisp.

Type: if-does-not-exist ()
Package

laap/fs.

Source

fs.lisp.


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %   (  
A   B   C   D   E   F   G   H   I   L   M   N   P   Q   R   S   T   U   W  
Index Entry  Section

%
%add-event: Private ordinary functions
%add-to-queue: Private ordinary functions
%pipe2: Private ordinary functions
%var-accessor-errno: Private ordinary functions
%var-accessor-errno: Private ordinary functions
%var-accessor-errno: Private ordinary functions

(
(setf %var-accessor-errno): Private ordinary functions
(setf %var-accessor-errno): Private ordinary functions
(setf %var-accessor-errno): Private ordinary functions
(setf action-queue): Private generic functions
(setf action-queue): Private generic functions
(setf action-queue-lock): Private generic functions
(setf action-queue-lock): Private generic functions
(setf blocking): Private generic functions
(setf blocking): Private generic functions
(setf closed): Private generic functions
(setf closed): Private generic functions
(setf data): Private generic functions
(setf data): Private generic functions
(setf efd): Private generic functions
(setf efd): Private generic functions
(setf event): Private generic functions
(setf event): Private generic functions
(setf event): Private generic functions
(setf fd): Private generic functions
(setf fd): Private generic functions
(setf if-does-not-exist): Private generic functions
(setf if-does-not-exist): Private generic functions
(setf lock): Private generic functions
(setf lock): Private generic functions
(setf lock): Private generic functions
(setf max-event-loops): Private generic functions
(setf max-event-loops): Private generic functions
(setf path): Private generic functions
(setf path): Private generic functions
(setf queue): Private generic functions
(setf queue): Private generic functions
(setf reporters): Private generic functions
(setf reporters): Private generic functions
(setf reporters-lock): Private generic functions
(setf reporters-lock): Private generic functions
(setf result): Private generic functions
(setf result): Private generic functions
(setf started): Private generic functions
(setf started): Private generic functions
(setf threads): Private generic functions
(setf threads): Private generic functions
(setf timers): Private generic functions
(setf timers): Private generic functions
(setf timers-lock): Private generic functions
(setf timers-lock): Private generic functions

A
accept: Public generic functions
accept: Public generic functions
action-queue: Private generic functions
action-queue: Private generic functions
action-queue-lock: Private generic functions
action-queue-lock: Private generic functions
add-event: Private ordinary functions
add-reporter: Public ordinary functions
add-thread: Private ordinary functions
add-timer: Public generic functions
add-timer: Public generic functions
add-timer-in: Private ordinary functions
add-to-action-queue: Private ordinary functions
add-to-queue: Private ordinary functions

B
blocking: Private generic functions
blocking: Private generic functions

C
c-accept: Private ordinary functions
c-bind: Private ordinary functions
c-buffer-to-lisp-buffer: Private ordinary functions
c-close: Private ordinary functions
c-close: Private ordinary functions
c-close: Private ordinary functions
c-connect: Private ordinary functions
c-ftruncate: Private ordinary functions
c-link: Private ordinary functions
c-listen: Private ordinary functions
c-lstat: Private ordinary functions
c-open: Private ordinary functions
c-read: Private ordinary functions
c-readlink: Private ordinary functions
c-recv: Private ordinary functions
c-rename: Private ordinary functions
c-send: Private ordinary functions
c-socket: Private ordinary functions
c-symlink: Private ordinary functions
c-unlink: Private ordinary functions
c-write: Private ordinary functions
c-write: Private ordinary functions
callback: Public generic functions
callback: Public generic functions
callback: Public generic functions
close: Public generic functions
close: Public generic functions
close: Public generic functions
close: Public generic functions
closed: Private generic functions
closed: Private generic functions
connect: Public generic functions
connect: Public generic functions
cores-count: Private ordinary functions

D
data: Private generic functions
data: Private generic functions
delay: Public ordinary functions
direction: Public generic functions
direction: Public generic functions
direction: Private generic functions
direction: Private generic functions

E
efd: Private generic functions
efd: Private generic functions
end-callback: Private generic functions
end-callback: Private generic functions
epoll-create1: Private ordinary functions
epoll-ctl: Private ordinary functions
epoll-wait: Private ordinary functions
err: Private generic functions
err: Private generic functions
errno: Public generic functions
errno: Public generic functions
event: Private generic functions
event: Private generic functions
event: Private generic functions
event-loop-action: Private ordinary functions
execute: Private generic functions
execute: Private generic functions
execute: Private generic functions
execute: Private generic functions
execute: Private generic functions
exit-event-loop-p: Private ordinary functions

F
fcntl: Private ordinary functions
fd: Public generic functions
fd: Public generic functions
fd: Private generic functions
fd: Private generic functions
fd: Private generic functions
fd: Private generic functions
find-recv-buffer-length: Private ordinary functions
Function, %add-event: Private ordinary functions
Function, %add-to-queue: Private ordinary functions
Function, %pipe2: Private ordinary functions
Function, %var-accessor-errno: Private ordinary functions
Function, %var-accessor-errno: Private ordinary functions
Function, %var-accessor-errno: Private ordinary functions
Function, (setf %var-accessor-errno): Private ordinary functions
Function, (setf %var-accessor-errno): Private ordinary functions
Function, (setf %var-accessor-errno): Private ordinary functions
Function, add-event: Private ordinary functions
Function, add-reporter: Public ordinary functions
Function, add-thread: Private ordinary functions
Function, add-timer-in: Private ordinary functions
Function, add-to-action-queue: Private ordinary functions
Function, add-to-queue: Private ordinary functions
Function, c-accept: Private ordinary functions
Function, c-bind: Private ordinary functions
Function, c-buffer-to-lisp-buffer: Private ordinary functions
Function, c-close: Private ordinary functions
Function, c-close: Private ordinary functions
Function, c-close: Private ordinary functions
Function, c-connect: Private ordinary functions
Function, c-ftruncate: Private ordinary functions
Function, c-link: Private ordinary functions
Function, c-listen: Private ordinary functions
Function, c-lstat: Private ordinary functions
Function, c-open: Private ordinary functions
Function, c-read: Private ordinary functions
Function, c-readlink: Private ordinary functions
Function, c-recv: Private ordinary functions
Function, c-rename: Private ordinary functions
Function, c-send: Private ordinary functions
Function, c-socket: Private ordinary functions
Function, c-symlink: Private ordinary functions
Function, c-unlink: Private ordinary functions
Function, c-write: Private ordinary functions
Function, c-write: Private ordinary functions
Function, cores-count: Private ordinary functions
Function, delay: Public ordinary functions
Function, epoll-create1: Private ordinary functions
Function, epoll-ctl: Private ordinary functions
Function, epoll-wait: Private ordinary functions
Function, event-loop-action: Private ordinary functions
Function, exit-event-loop-p: Private ordinary functions
Function, fcntl: Private ordinary functions
Function, find-recv-buffer-length: Private ordinary functions
Function, getrandom: Private ordinary functions
Function, getsockopt: Private ordinary functions
Function, htons: Private ordinary functions
Function, inet-aton: Private ordinary functions
Function, link: Public ordinary functions
Function, lisp-buffer-to-c-buffer: Private ordinary functions
Function, main-loop: Private ordinary functions
Function, noop: Public ordinary functions
Function, pipe: Private ordinary functions
Function, quit-event-loop: Private ordinary functions
Function, readlink: Public ordinary functions
Function, rename: Public ordinary functions
Function, spawn: Public ordinary functions
Function, start-event-loops: Private ordinary functions
Function, start-thread-pool: Private ordinary functions
Function, strerror: Private ordinary functions
Function, strerror: Private ordinary functions
Function, strerror: Private ordinary functions
Function, symlink: Public ordinary functions
Function, timerfd-create: Private ordinary functions
Function, timerfd-gettime: Private ordinary functions
Function, timerfd-settime: Private ordinary functions
Function, unlink: Public ordinary functions
Function, wait-from-action-queue: Private ordinary functions

G
Generic Function, (setf action-queue): Private generic functions
Generic Function, (setf action-queue-lock): Private generic functions
Generic Function, (setf blocking): Private generic functions
Generic Function, (setf closed): Private generic functions
Generic Function, (setf data): Private generic functions
Generic Function, (setf efd): Private generic functions
Generic Function, (setf event): Private generic functions
Generic Function, (setf fd): Private generic functions
Generic Function, (setf if-does-not-exist): Private generic functions
Generic Function, (setf lock): Private generic functions
Generic Function, (setf max-event-loops): Private generic functions
Generic Function, (setf path): Private generic functions
Generic Function, (setf queue): Private generic functions
Generic Function, (setf reporters): Private generic functions
Generic Function, (setf reporters-lock): Private generic functions
Generic Function, (setf result): Private generic functions
Generic Function, (setf started): Private generic functions
Generic Function, (setf threads): Private generic functions
Generic Function, (setf timers): Private generic functions
Generic Function, (setf timers-lock): Private generic functions
Generic Function, accept: Public generic functions
Generic Function, action-queue: Private generic functions
Generic Function, action-queue-lock: Private generic functions
Generic Function, add-timer: Public generic functions
Generic Function, blocking: Private generic functions
Generic Function, callback: Public generic functions
Generic Function, close: Public generic functions
Generic Function, close: Public generic functions
Generic Function, closed: Private generic functions
Generic Function, connect: Public generic functions
Generic Function, data: Private generic functions
Generic Function, direction: Public generic functions
Generic Function, direction: Private generic functions
Generic Function, efd: Private generic functions
Generic Function, end-callback: Private generic functions
Generic Function, err: Private generic functions
Generic Function, errno: Public generic functions
Generic Function, event: Private generic functions
Generic Function, execute: Private generic functions
Generic Function, fd: Public generic functions
Generic Function, fd: Private generic functions
Generic Function, fd: Private generic functions
Generic Function, handle-error: Public generic functions
Generic Function, handle-event: Public generic functions
Generic Function, if-does-not-exist: Private generic functions
Generic Function, listen: Public generic functions
Generic Function, lock: Private generic functions
Generic Function, max-event-loops: Private generic functions
Generic Function, path: Private generic functions
Generic Function, queue: Private generic functions
Generic Function, read: Public generic functions
Generic Function, receive: Public generic functions
Generic Function, remove-timer: Public generic functions
Generic Function, reporters: Private generic functions
Generic Function, reporters-lock: Private generic functions
Generic Function, result: Private generic functions
Generic Function, send: Public generic functions
Generic Function, socket-domain: Private generic functions
Generic Function, socket-protocol: Private generic functions
Generic Function, socket-type: Private generic functions
Generic Function, started: Private generic functions
Generic Function, thread: Private generic functions
Generic Function, threads: Private generic functions
Generic Function, timers: Private generic functions
Generic Function, timers-lock: Private generic functions
Generic Function, truncate: Public generic functions
Generic Function, write: Public generic functions
getrandom: Private ordinary functions
getsockopt: Private ordinary functions

H
handle-error: Public generic functions
handle-error: Public generic functions
handle-error: Public generic functions
handle-event: Public generic functions
handle-event: Public generic functions
handle-event: Public generic functions
handle-event: Public generic functions
handle-event: Public generic functions
handle-event: Public generic functions
htons: Private ordinary functions

I
if-does-not-exist: Private generic functions
if-does-not-exist: Private generic functions
inet-aton: Private ordinary functions
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods

L
link: Public ordinary functions
lisp-buffer-to-c-buffer: Private ordinary functions
listen: Public generic functions
listen: Public generic functions
lock: Private generic functions
lock: Private generic functions
lock: Private generic functions

M
Macro, with-blocking-thread: Public macros
Macro, with-event-loop: Public macros
main-loop: Private ordinary functions
max-event-loops: Private generic functions
max-event-loops: Private generic functions
Method, (setf action-queue): Private generic functions
Method, (setf action-queue-lock): Private generic functions
Method, (setf blocking): Private generic functions
Method, (setf closed): Private generic functions
Method, (setf data): Private generic functions
Method, (setf efd): Private generic functions
Method, (setf event): Private generic functions
Method, (setf event): Private generic functions
Method, (setf fd): Private generic functions
Method, (setf if-does-not-exist): Private generic functions
Method, (setf lock): Private generic functions
Method, (setf lock): Private generic functions
Method, (setf max-event-loops): Private generic functions
Method, (setf path): Private generic functions
Method, (setf queue): Private generic functions
Method, (setf reporters): Private generic functions
Method, (setf reporters-lock): Private generic functions
Method, (setf result): Private generic functions
Method, (setf started): Private generic functions
Method, (setf threads): Private generic functions
Method, (setf timers): Private generic functions
Method, (setf timers-lock): Private generic functions
Method, accept: Public generic functions
Method, action-queue: Private generic functions
Method, action-queue-lock: Private generic functions
Method, add-timer: Public generic functions
Method, blocking: Private generic functions
Method, callback: Public generic functions
Method, callback: Public generic functions
Method, close: Public generic functions
Method, close: Public generic functions
Method, closed: Private generic functions
Method, connect: Public generic functions
Method, data: Private generic functions
Method, direction: Public generic functions
Method, direction: Private generic functions
Method, efd: Private generic functions
Method, end-callback: Private generic functions
Method, err: Private generic functions
Method, errno: Public generic functions
Method, event: Private generic functions
Method, event: Private generic functions
Method, execute: Private generic functions
Method, execute: Private generic functions
Method, execute: Private generic functions
Method, execute: Private generic functions
Method, fd: Public generic functions
Method, fd: Private generic functions
Method, fd: Private generic functions
Method, handle-error: Public generic functions
Method, handle-error: Public generic functions
Method, handle-event: Public generic functions
Method, handle-event: Public generic functions
Method, handle-event: Public generic functions
Method, handle-event: Public generic functions
Method, handle-event: Public generic functions
Method, if-does-not-exist: Private generic functions
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, listen: Public generic functions
Method, lock: Private generic functions
Method, lock: Private generic functions
Method, max-event-loops: Private generic functions
Method, path: Private generic functions
Method, print-object: Public standalone methods
Method, queue: Private generic functions
Method, read: Public generic functions
Method, receive: Public generic functions
Method, remove-timer: Public generic functions
Method, reporters: Private generic functions
Method, reporters-lock: Private generic functions
Method, result: Private generic functions
Method, send: Public generic functions
Method, socket-domain: Private generic functions
Method, socket-protocol: Private generic functions
Method, socket-type: Private generic functions
Method, started: Private generic functions
Method, thread: Private generic functions
Method, thread: Private generic functions
Method, thread: Private generic functions
Method, threads: Private generic functions
Method, timers: Private generic functions
Method, timers-lock: Private generic functions
Method, truncate: Public generic functions
Method, write: Public generic functions

N
noop: Public ordinary functions

P
path: Private generic functions
path: Private generic functions
pipe: Private ordinary functions
print-object: Public standalone methods

Q
queue: Private generic functions
queue: Private generic functions
quit-event-loop: Private ordinary functions

R
read: Public generic functions
read: Public generic functions
readlink: Public ordinary functions
receive: Public generic functions
receive: Public generic functions
remove-timer: Public generic functions
remove-timer: Public generic functions
rename: Public ordinary functions
reporters: Private generic functions
reporters: Private generic functions
reporters-lock: Private generic functions
reporters-lock: Private generic functions
result: Private generic functions
result: Private generic functions

S
send: Public generic functions
send: Public generic functions
socket-domain: Private generic functions
socket-domain: Private generic functions
socket-protocol: Private generic functions
socket-protocol: Private generic functions
socket-type: Private generic functions
socket-type: Private generic functions
spawn: Public ordinary functions
start-event-loops: Private ordinary functions
start-thread-pool: Private ordinary functions
started: Private generic functions
started: Private generic functions
strerror: Private ordinary functions
strerror: Private ordinary functions
strerror: Private ordinary functions
symlink: Public ordinary functions

T
thread: Private generic functions
thread: Private generic functions
thread: Private generic functions
thread: Private generic functions
threads: Private generic functions
threads: Private generic functions
timerfd-create: Private ordinary functions
timerfd-gettime: Private ordinary functions
timerfd-settime: Private ordinary functions
timers: Private generic functions
timers: Private generic functions
timers-lock: Private generic functions
timers-lock: Private generic functions
truncate: Public generic functions
truncate: Public generic functions

U
unlink: Public ordinary functions

W
wait-from-action-queue: Private ordinary functions
with-blocking-thread: Public macros
with-event-loop: Public macros
write: Public generic functions
write: Public generic functions


A.3 Variables

Jump to:   *   +  
A   B   C   D   E   F   I   L   M   P   Q   R   S   T  
Index Entry  Section

*
*loop*: Private special variables
*recv-buffer-length*: Public special variables
*thread-pool*: Private special variables
*thread-should-exit*: Private special variables

+
+af-inet+: Private constants
+clock-monotonic+: Private constants
+eagain+: Private constants
+ebadf+: Private constants
+eexist+: Private constants
+efault+: Private constants
+einprogress+: Private constants
+eintr+: Private constants
+eintr+: Private constants
+einval+: Private constants
+eloop+: Private constants
+enoent+: Private constants
+enomem+: Private constants
+enospc+: Private constants
+eperm+: Private constants
+epoll-cloexec+: Private constants
+epoll-ctl-add+: Private constants
+epoll-ctl-del+: Private constants
+epoll-ctl-mod+: Private constants
+epollerr+: Private constants
+epollet+: Private constants
+epollhup+: Private constants
+epollin+: Private constants
+epollin+: Private constants
+epolloneshot+: Private constants
+epollout+: Private constants
+epollout+: Private constants
+epollpri+: Private constants
+ewouldblock+: Private constants
+f-getfl+: Private constants
+f-setfl+: Private constants
+msg-nosignal+: Private constants
+o-cloexec+: Private constants
+o-create+: Private constants
+o-nonblock+: Private constants
+o-nonblock+: Private constants
+o-read-only+: Private constants
+o-read-write+: Private constants
+o-write-only+: Private constants
+path-max+: Private constants
+so-error+: Private constants
+sock-nonblock+: Private constants
+sock-stream+: Private constants
+sol-socket+: Private constants
+tfd-cloexec+: Private constants

A
action-queue: Private classes
action-queue-lock: Private classes

B
blocking: Private classes

C
callback: Public classes
callback: Private classes
closed: Public classes
Constant, +af-inet+: Private constants
Constant, +clock-monotonic+: Private constants
Constant, +eagain+: Private constants
Constant, +ebadf+: Private constants
Constant, +eexist+: Private constants
Constant, +efault+: Private constants
Constant, +einprogress+: Private constants
Constant, +eintr+: Private constants
Constant, +eintr+: Private constants
Constant, +einval+: Private constants
Constant, +eloop+: Private constants
Constant, +enoent+: Private constants
Constant, +enomem+: Private constants
Constant, +enospc+: Private constants
Constant, +eperm+: Private constants
Constant, +epoll-cloexec+: Private constants
Constant, +epoll-ctl-add+: Private constants
Constant, +epoll-ctl-del+: Private constants
Constant, +epoll-ctl-mod+: Private constants
Constant, +epollerr+: Private constants
Constant, +epollet+: Private constants
Constant, +epollhup+: Private constants
Constant, +epollin+: Private constants
Constant, +epollin+: Private constants
Constant, +epolloneshot+: Private constants
Constant, +epollout+: Private constants
Constant, +epollout+: Private constants
Constant, +epollpri+: Private constants
Constant, +ewouldblock+: Private constants
Constant, +f-getfl+: Private constants
Constant, +f-setfl+: Private constants
Constant, +msg-nosignal+: Private constants
Constant, +o-cloexec+: Private constants
Constant, +o-create+: Private constants
Constant, +o-nonblock+: Private constants
Constant, +o-nonblock+: Private constants
Constant, +o-read-only+: Private constants
Constant, +o-read-write+: Private constants
Constant, +o-write-only+: Private constants
Constant, +path-max+: Private constants
Constant, +so-error+: Private constants
Constant, +sock-nonblock+: Private constants
Constant, +sock-stream+: Private constants
Constant, +sol-socket+: Private constants
Constant, +tfd-cloexec+: Private constants

D
data: Private classes
direction: Public classes
direction: Public classes
direction: Private classes
direction: Private classes
direction: Private classes
direction: Private classes
direction: Private classes
domain: Private classes

E
efd: Private classes
end-callback: Private classes
err: Private classes
errno: Public symbol macros
errno: Public conditions
errno: Private symbol macros
errno: Private symbol macros
event: Private classes
event: Private classes

F
fd: Public classes
fd: Public classes
fd: Private classes

I
if-does-not-exist: Public classes

L
lock: Private classes
lock: Private classes

M
max-event-loops: Private classes

P
path: Public classes
protocol: Private classes

Q
queue: Private classes

R
reporters: Private classes
reporters-lock: Private classes
result: Private classes

S
Slot, action-queue: Private classes
Slot, action-queue-lock: Private classes
Slot, blocking: Private classes
Slot, callback: Public classes
Slot, callback: Private classes
Slot, closed: Public classes
Slot, data: Private classes
Slot, direction: Public classes
Slot, direction: Public classes
Slot, direction: Private classes
Slot, direction: Private classes
Slot, direction: Private classes
Slot, direction: Private classes
Slot, direction: Private classes
Slot, domain: Private classes
Slot, efd: Private classes
Slot, end-callback: Private classes
Slot, err: Private classes
Slot, errno: Public conditions
Slot, event: Private classes
Slot, event: Private classes
Slot, fd: Public classes
Slot, fd: Public classes
Slot, fd: Private classes
Slot, if-does-not-exist: Public classes
Slot, lock: Private classes
Slot, lock: Private classes
Slot, max-event-loops: Private classes
Slot, path: Public classes
Slot, protocol: Private classes
Slot, queue: Private classes
Slot, reporters: Private classes
Slot, reporters-lock: Private classes
Slot, result: Private classes
Slot, started: Private classes
Slot, thread: Private classes
Slot, thread: Private classes
Slot, thread: Private classes
Slot, threads: Private classes
Slot, timers: Private classes
Slot, timers-lock: Private classes
Slot, type: Private classes
Special Variable, *loop*: Private special variables
Special Variable, *recv-buffer-length*: Public special variables
Special Variable, *thread-pool*: Private special variables
Special Variable, *thread-should-exit*: Private special variables
started: Private classes
Symbol Macro, errno: Public symbol macros
Symbol Macro, errno: Private symbol macros
Symbol Macro, errno: Private symbol macros

T
thread: Private classes
thread: Private classes
thread: Private classes
threads: Private classes
timers: Private classes
timers-lock: Private classes
type: Private classes


A.4 Data types

Jump to:   A   B   C   D   E   F   I   L   M   N   O   P   S   T   U  
Index Entry  Section

A
action: Private classes
action-queue-item: Private classes

B
blocking-action: Private classes

C
cffi.lisp: The laap/core/cffi․lisp file
cffi.lisp: The laap/socket/cffi․lisp file
cffi.lisp: The laap/fs/cffi․lisp file
Class, action: Private classes
Class, action-queue-item: Private classes
Class, blocking-action: Private classes
Class, epoll-event-tclass: Private classes
Class, event-loop: Private classes
Class, file: Public classes
Class, in-addr-tclass: Private classes
Class, ipv4-tcp-socket: Public classes
Class, itimerspec-tclass: Private classes
Class, new-thread-action: Private classes
Class, sockaddr-in-tclass: Private classes
Class, socket: Private classes
Class, socket-timer: Private classes
Class, stat-tclass: Private classes
Class, thread-error: Private classes
Class, thread-pool: Private classes
Class, thread-properties: Private classes
Class, timer: Public classes
Class, timer-socket-accept: Private classes
Class, timer-socket-connect: Private classes
Class, timer-socket-receive: Private classes
Class, timer-socket-send: Private classes
Class, timer-timer: Private classes
Class, timespec-tclass: Private classes
Class, unblocking-action: Private classes
Condition, epoll-error: Public conditions
Condition, os-error: Public conditions
condition.lisp: The laap/core/condition․lisp file
core: The laap/core module

D
direction: Private types

E
epoll-error: Public conditions
epoll-event-tclass: Private classes
event-loop: Private classes

F
file: Public classes
File, cffi.lisp: The laap/core/cffi․lisp file
File, cffi.lisp: The laap/socket/cffi․lisp file
File, cffi.lisp: The laap/fs/cffi․lisp file
File, condition.lisp: The laap/core/condition․lisp file
File, fs.lisp: The laap/fs/fs․lisp file
File, laap.asd: The laap/laap․asd file
File, laap.lisp: The laap/core/laap․lisp file
File, loop.lisp: The laap/core/loop․lisp file
File, package.lisp: The laap/core/package․lisp file
File, package.lisp: The laap/socket/package․lisp file
File, package.lisp: The laap/fs/package․lisp file
File, socket.lisp: The laap/socket/socket․lisp file
File, thread-pool.lisp: The laap/core/thread-pool․lisp file
File, timer.lisp: The laap/core/timer․lisp file
fs: The laap/fs module
fs.lisp: The laap/fs/fs․lisp file

I
if-does-not-exist: Private types
in-addr-tclass: Private classes
ipv4-tcp-socket: Public classes
itimerspec-tclass: Private classes

L
laap: The laap system
laap: The laap package
laap.asd: The laap/laap․asd file
laap.lisp: The laap/core/laap․lisp file
laap/fs: The laap/fs package
laap/socket: The laap/socket package
loop.lisp: The laap/core/loop․lisp file

M
Module, core: The laap/core module
Module, fs: The laap/fs module
Module, socket: The laap/socket module

N
new-thread-action: Private classes

O
os-error: Public conditions

P
Package, laap: The laap package
Package, laap/fs: The laap/fs package
Package, laap/socket: The laap/socket package
package.lisp: The laap/core/package․lisp file
package.lisp: The laap/socket/package․lisp file
package.lisp: The laap/fs/package․lisp file

S
sockaddr-in-tclass: Private classes
socket: The laap/socket module
socket: Private classes
socket-timer: Private classes
socket.lisp: The laap/socket/socket․lisp file
stat-tclass: Private classes
System, laap: The laap system

T
thread-error: Private classes
thread-pool: Private classes
thread-pool.lisp: The laap/core/thread-pool․lisp file
thread-properties: Private classes
timer: Public classes
timer-socket-accept: Private classes
timer-socket-connect: Private classes
timer-socket-receive: Private classes
timer-socket-send: Private classes
timer-timer: Private classes
timer.lisp: The laap/core/timer․lisp file
timespec-tclass: Private classes
Type, direction: Private types
Type, if-does-not-exist: Private types

U
unblocking-action: Private classes