The laap Reference Manual

Table of Contents

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

The laap Reference Manual

This is the laap Reference Manual, generated automatically by Declt version 2.3 "Robert April" on Wed Mar 14 04:07:11 2018 GMT+0.


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

1 Introduction

laap

build status

A Common Lisp multi-threaded event loop.

From micro-benchmarks run on a random laptop (i.e. ballpark numbers to give a rough idea), a small HTTP server could handle:

Tested on linux/sbcl x86-64 only. (But definitely open to compatibility fixes.)

What motivated the creation of this library:

Getting started

(laap:with-event-loop
  (let ((socket (make-instance 'laap/socket:ipv4-tcp-socket)))
	(laap/socket:connect socket
						 (lambda (err res)
						   (when err (error err))
						   (laap/socket:send socket
											 :data (babel:string-to-octets "foo")))
											 :ip "127.0.0.1"
											 :port 80)))

This snippet creates a TCP socket to 127.0.0.1:80 and send the string foo to it.

More examples in the t/ folder.

Features

Currently, laap supports:

laap plans on supporting the following features:

API

The API is based on callbacks. All the callbacks must accept 2 arguments: an error (possibly nil) and a result (possibly nil too). This allows for easy wrapping around the callbacks.

Core

TODO.

Sockets

TODO.

Filesystem

TODO.

Internal

TODO.

License

This library is provided under the MIT license. See LICENSE.


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

2 Systems

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


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

2.1 laap

Author

Florian Margaine <florian@margaine.com>

License

MIT

Description

A Common Lisp multi-threaded event loop.

Dependencies
Source

laap.asd (file)

Components

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

3 Modules

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


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

3.1 laap/core

Parent

laap (system)

Location

core/

Components

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

3.2 laap/socket

Dependency

core (module)

Parent

laap (system)

Location

socket/

Components

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

3.3 laap/fs

Dependency

socket (module)

Parent

laap (system)

Location

fs/

Components

Next: , Previous: , Up: Top   [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 files   [Contents][Index]

4.1.1 laap.asd

Location

laap.asd

Systems

laap (system)


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

4.1.2 laap/core/package.lisp

Parent

core (module)

Location

core/package.lisp

Packages

laap


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

4.1.3 laap/core/laap.lisp

Dependencies
Parent

core (module)

Location

core/laap.lisp

Exported Definitions
Internal Definitions

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

4.1.4 laap/core/cffi.lisp

Dependency

package.lisp (file)

Parent

core (module)

Location

core/cffi.lisp

Exported Definitions

errno (symbol macro)

Internal Definitions

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

4.1.5 laap/core/timer.lisp

Dependencies
Parent

core (module)

Location

core/timer.lisp

Exported Definitions
Internal Definitions

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

4.1.6 laap/core/loop.lisp

Dependencies
Parent

core (module)

Location

core/loop.lisp

Exported Definitions

*recv-buffer-length* (special variable)

Internal Definitions

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

4.1.7 laap/core/thread-pool.lisp

Dependencies
Parent

core (module)

Location

core/thread-pool.lisp

Exported Definitions
Internal Definitions

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

4.1.8 laap/core/condition.lisp

Dependency

package.lisp (file)

Parent

core (module)

Location

core/condition.lisp

Exported Definitions

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

4.1.9 laap/socket/package.lisp

Parent

socket (module)

Location

socket/package.lisp

Packages

laap/socket


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

4.1.10 laap/socket/socket.lisp

Dependencies
Parent

socket (module)

Location

socket/socket.lisp

Exported Definitions
Internal Definitions

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

4.1.11 laap/socket/cffi.lisp

Dependency

package.lisp (file)

Parent

socket (module)

Location

socket/cffi.lisp

Internal Definitions

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

4.1.12 laap/fs/package.lisp

Parent

fs (module)

Location

fs/package.lisp

Packages

laap/fs


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

4.1.13 laap/fs/cffi.lisp

Dependency

package.lisp (file)

Parent

fs (module)

Location

fs/cffi.lisp

Internal Definitions

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

4.1.14 laap/fs/fs.lisp

Dependencies
Parent

fs (module)

Location

fs/fs.lisp

Exported Definitions
Internal Definitions

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

5 Packages

Packages are listed by definition order.


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

5.1 laap

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

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

5.2 laap/socket

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

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

5.3 laap/fs

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [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 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Special variables

Special Variable: *recv-buffer-length*
Package

laap

Source

loop.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Symbol macros

Symbol Macro: errno
Package

laap

Source

cffi.lisp (file)

Expansion

(laap::%var-accessor-errno)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Macros

Macro: with-blocking-thread NAME &body BODY
Package

laap

Source

thread-pool.lisp (file)

Macro: with-event-loop &body BODY

Run code in the laap event loop.

Package

laap

Source

laap.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.4 Functions

Function: add-reporter REPORTER
Package

laap

Source

thread-pool.lisp (file)

Function: delay SECONDS CALLBACK

Run a callback in a specified amount of seconds.

Package

laap

Source

timer.lisp (file)

Function: link CALLBACK &key OLDPATH NEWPATH

Make a hard-link from newpath to oldpath.

Package

laap/fs

Source

fs.lisp (file)

Function: noop ERR RES
Package

laap

Source

laap.lisp (file)

Function: readlink CALLBACK &key PATHNAME

Readlink pathname.

Package

laap/fs

Source

fs.lisp (file)

Function: rename CALLBACK &key OLDPATH NEWPATH

Rename oldpath to newpath.

Package

laap/fs

Source

fs.lisp (file)

Function: spawn CALLBACK

Immediately run a callback.

Package

laap

Source

timer.lisp (file)

Function: symlink CALLBACK &key TARGET LINKPATH

Make a symbolic link at linkpath pointing to target.

Package

laap/fs

Source

fs.lisp (file)

Function: unlink CALLBACK &key PATHNAME

Unlink pathname.

Package

laap/fs

Source

fs.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.5 Generic functions

Generic Function: accept SOCKET CALLBACK &key

Accept a connection from a socket.

Package

laap/socket

Source

socket.lisp (file)

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 (file)

Methods
Method: add-timer TIMER
Generic Function: callback OBJECT
Package

laap

Methods
Method: callback (NEW-THREAD-ACTION new-thread-action)

automatically generated reader method

Source

thread-pool.lisp (file)

Method: callback (TIMER timer)

automatically generated reader method

Source

timer.lisp (file)

Generic Function: close SOCKET CALLBACK &key

Close the socket.

Package

laap/socket

Source

socket.lisp (file)

Methods
Method: close (SOCKET ipv4-tcp-socket) CALLBACK &key
Generic Function: close FILE CALLBACK

Close the backed file.

Package

laap/fs

Source

fs.lisp (file)

Methods
Method: close FILE CALLBACK
Generic Function: connect SOCKET CALLBACK &key IP PORT

Connect the socket.

Package

laap/socket

Source

socket.lisp (file)

Methods
Method: connect (SOCKET ipv4-tcp-socket) CALLBACK &key IP PORT
Generic Function: direction OBJECT
Package

laap

Methods
Method: direction (TIMER timer)

automatically generated reader method

Source

timer.lisp (file)

Generic Function: errno CONDITION
Package

laap

Methods
Method: errno (CONDITION os-error)
Source

condition.lisp (file)

Generic Function: fd OBJECT
Package

laap

Methods
Method: fd (TIMER timer)

automatically generated reader method

Source

timer.lisp (file)

Generic Function: handle-error TIMER ERR

Handles an error for a timer.

Package

laap

Source

timer.lisp (file)

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

socket.lisp (file)

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

Handles an event for a timer.

Package

laap

Source

timer.lisp (file)

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

socket.lisp (file)

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

socket.lisp (file)

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

socket.lisp (file)

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

socket.lisp (file)

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 (file)

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 (file)

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 (file)

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 (file)

Methods
Method: remove-timer TIMER
Generic Function: send SOCKET CALLBACK &key DATA

Send data over a socket.

Package

laap/socket

Source

socket.lisp (file)

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 (file)

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 (file)

Methods
Method: write FILE CALLBACK &key DATA

Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.6 Conditions

Condition: epoll-error ()
Package

laap

Source

condition.lisp (file)

Direct superclasses

condition (condition)

Condition: os-error ()
Package

laap

Source

condition.lisp (file)

Direct superclasses

condition (condition)

Direct methods
  • print-object (method)
  • errno (method)
Direct slots
Slot: errno
Initargs

:errno

Readers

errno (generic function)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.7 Classes

Class: file ()

An object abstracting over a file.

Package

laap/fs

Source

fs.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: path
Initargs

:path

Readers

path (generic function)

Writers

(setf path) (generic function)

Slot: fd
Readers

fd (generic function)

Writers

(setf fd) (generic function)

Slot: direction
Type

laap/fs::direction

Initargs

:direction

Readers

direction (generic function)

Slot: if-does-not-exist
Type

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

Initargs

:if-does-not-exist

Readers

if-does-not-exist (generic function)

Writers

(setf if-does-not-exist) (generic function)

Class: ipv4-tcp-socket ()

Implementation of an IPv4 TCP socket.

Package

laap/socket

Source

socket.lisp (file)

Direct superclasses

socket (class)

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 (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: fd
Initargs

:fd

Readers

fd (generic function)

Slot: direction
Initargs

:direction

Readers

direction (generic function)

Slot: callback
Initargs

:callback

Readers

callback (generic function)

Slot: closed
Readers

closed (generic function)

Writers

(setf closed) (generic function)


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

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Constants

Constant: +af-inet+
Package

laap/socket

Source

cffi.lisp (file)

Constant: +clock-monotonic+
Package

laap

Source

cffi.lisp (file)

Constant: +eagain+
Package

laap/socket

Source

cffi.lisp (file)

Constant: +ebadf+
Package

laap

Source

cffi.lisp (file)

Constant: +eexist+
Package

laap

Source

cffi.lisp (file)

Constant: +efault+
Package

laap

Source

cffi.lisp (file)

Constant: +einprogress+
Package

laap/socket

Source

cffi.lisp (file)

Constant: +eintr+
Package

laap

Source

cffi.lisp (file)

Constant: +eintr+
Package

laap/fs

Source

cffi.lisp (file)

Constant: +einval+
Package

laap

Source

cffi.lisp (file)

Constant: +eloop+
Package

laap

Source

cffi.lisp (file)

Constant: +enoent+
Package

laap

Source

cffi.lisp (file)

Constant: +enomem+
Package

laap

Source

cffi.lisp (file)

Constant: +enospc+
Package

laap

Source

cffi.lisp (file)

Constant: +eperm+
Package

laap

Source

cffi.lisp (file)

Constant: +epoll-cloexec+
Package

laap

Source

cffi.lisp (file)

Constant: +epoll-ctl-add+
Package

laap

Source

cffi.lisp (file)

Constant: +epoll-ctl-del+
Package

laap

Source

cffi.lisp (file)

Constant: +epoll-ctl-mod+
Package

laap

Source

cffi.lisp (file)

Constant: +epollerr+
Package

laap

Source

cffi.lisp (file)

Constant: +epollet+
Package

laap

Source

cffi.lisp (file)

Constant: +epollhup+
Package

laap

Source

cffi.lisp (file)

Constant: +epollin+
Package

laap

Source

cffi.lisp (file)

Constant: +epollin+
Package

laap/socket

Source

cffi.lisp (file)

Constant: +epolloneshot+
Package

laap

Source

cffi.lisp (file)

Constant: +epollout+
Package

laap

Source

cffi.lisp (file)

Constant: +epollout+
Package

laap/socket

Source

cffi.lisp (file)

Constant: +epollpri+
Package

laap

Source

cffi.lisp (file)

Constant: +ewouldblock+
Package

laap/socket

Source

cffi.lisp (file)

Constant: +f-getfl+
Package

laap/socket

Source

cffi.lisp (file)

Constant: +f-setfl+
Package

laap/socket

Source

cffi.lisp (file)

Constant: +msg-nosignal+
Package

laap/socket

Source

cffi.lisp (file)

Constant: +o-cloexec+
Package

laap

Source

cffi.lisp (file)

Constant: +o-create+
Package

laap/fs

Source

cffi.lisp (file)

Constant: +o-nonblock+
Package

laap

Source

cffi.lisp (file)

Constant: +o-nonblock+
Package

laap/socket

Source

cffi.lisp (file)

Constant: +o-read-only+
Package

laap/fs

Source

cffi.lisp (file)

Constant: +o-read-write+
Package

laap/fs

Source

cffi.lisp (file)

Constant: +o-write-only+
Package

laap/fs

Source

cffi.lisp (file)

Constant: +path-max+
Package

laap/fs

Source

cffi.lisp (file)

Constant: +so-error+
Package

laap/socket

Source

cffi.lisp (file)

Constant: +sock-nonblock+
Package

laap/socket

Source

cffi.lisp (file)

Constant: +sock-stream+
Package

laap/socket

Source

cffi.lisp (file)

Constant: +sol-socket+
Package

laap/socket

Source

cffi.lisp (file)

Constant: +tfd-cloexec+
Package

laap

Source

cffi.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Special variables

Special Variable: *loop*
Package

laap

Source

laap.lisp (file)

Special Variable: *thread-pool*
Package

laap

Source

laap.lisp (file)

Special Variable: *thread-should-exit*
Package

laap

Source

thread-pool.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.3 Symbol macros

Symbol Macro: errno
Package

laap/socket

Source

cffi.lisp (file)

Expansion

(laap/socket::%var-accessor-errno)

Symbol Macro: errno
Package

laap/fs

Source

cffi.lisp (file)

Expansion

(laap/fs::%var-accessor-errno)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.4 Functions

Function: %add-event EFD FD DIRECTION
Package

laap

Source

loop.lisp (file)

Function: %add-to-queue ACTION
Package

laap

Source

thread-pool.lisp (file)

Function: %pipe2 PIPEFDS FLAGS
Package

laap

Source

cffi.lisp (file)

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

laap

Source

cffi.lisp (file)

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

laap/socket

Source

cffi.lisp (file)

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

laap/fs

Source

cffi.lisp (file)

Function: add-event EFD TIMERFD TIMER
Package

laap

Source

loop.lisp (file)

Function: add-thread FN
Package

laap

Source

thread-pool.lisp (file)

Function: add-timer-in SECONDS CALLBACK
Package

laap

Source

timer.lisp (file)

Function: add-to-action-queue ACTION VALUE
Package

laap

Source

thread-pool.lisp (file)

Function: add-to-queue ACTION
Package

laap

Source

thread-pool.lisp (file)

Function: c-accept SOCKFD ADDR ADDRLEN FLAGS
Package

laap/socket

Source

cffi.lisp (file)

Function: c-bind SOCKFD ADDR ADDRLEN
Package

laap/socket

Source

cffi.lisp (file)

Function: c-buffer-to-lisp-buffer C-BUFFER LISP-BUFFER LENGTH OFFSET
Package

laap/fs

Source

fs.lisp (file)

Function: c-close FD
Package

laap

Source

cffi.lisp (file)

Function: c-close FD
Package

laap/socket

Source

cffi.lisp (file)

Function: c-close FD
Package

laap/fs

Source

cffi.lisp (file)

Function: c-connect SOCKFD ADDR ADDRLEN
Package

laap/socket

Source

cffi.lisp (file)

Function: c-ftruncate FD LENGTH
Package

laap/fs

Source

cffi.lisp (file)

Function: c-link OLDPATH NEWPATH
Package

laap/fs

Source

cffi.lisp (file)

Function: c-listen SOCKFD BACKLOG
Package

laap/socket

Source

cffi.lisp (file)

Function: c-lstat PATHNAME STAT
Package

laap/fs

Source

cffi.lisp (file)

Function: c-open PATHNAME FLAGS
Package

laap/fs

Source

cffi.lisp (file)

Function: c-read FD BUF COUNT
Package

laap/fs

Source

cffi.lisp (file)

Function: c-readlink PATHNAME BUF BUFSIZ
Package

laap/fs

Source

cffi.lisp (file)

Function: c-recv SOCKFD BUF LEN FLAGS
Package

laap/socket

Source

cffi.lisp (file)

Function: c-rename OLDPATH NEWPATH
Package

laap/fs

Source

cffi.lisp (file)

Function: c-send SOCKFD BUF LEN FLAGS
Package

laap/socket

Source

cffi.lisp (file)

Function: c-socket DOMAIN TYPE PROTOCOL
Package

laap/socket

Source

cffi.lisp (file)

Function: c-symlink TARGET NEWPATH
Package

laap/fs

Source

cffi.lisp (file)

Function: c-unlink PATHNAME
Package

laap/fs

Source

cffi.lisp (file)

Function: c-write FD BUF COUNT
Package

laap

Source

cffi.lisp (file)

Function: c-write FD BUF COUNT
Package

laap/fs

Source

cffi.lisp (file)

Function: cores-count ()
Package

laap

Source

loop.lisp (file)

Function: epoll-create1 FLAGS
Package

laap

Source

cffi.lisp (file)

Function: epoll-ctl EPFD OP FD EVENT
Package

laap

Source

cffi.lisp (file)

Function: epoll-wait EPFD EVENTS MAXEVENTS TIMEOUT
Package

laap

Source

cffi.lisp (file)

Function: event-loop-action ()
Package

laap

Source

thread-pool.lisp (file)

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

laap

Source

loop.lisp (file)

Function: fcntl FD CMD FLAGS
Package

laap/socket

Source

cffi.lisp (file)

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

laap

Source

loop.lisp (file)

Function: getrandom COUNT
Package

laap

Source

thread-pool.lisp (file)

Function: getsockopt SOCKFD LEVEL OPTNAME OPTVAL OPTLEN
Package

laap/socket

Source

cffi.lisp (file)

Function: htons HOSTSHORT
Package

laap/socket

Source

cffi.lisp (file)

Function: inet-aton CP INP
Package

laap/socket

Source

cffi.lisp (file)

Function: lisp-buffer-to-c-buffer LISP-BUFFER C-BUFFER LENGTH OFFSET
Package

laap/fs

Source

fs.lisp (file)

Function: main-loop EFD
Package

laap

Source

loop.lisp (file)

Function: pipe ()
Package

laap

Source

cffi.lisp (file)

Function: quit-event-loop ()
Package

laap

Source

thread-pool.lisp (file)

Function: start-event-loops ()
Package

laap

Source

loop.lisp (file)

Function: start-thread-pool ()
Package

laap

Source

thread-pool.lisp (file)

Function: strerror ERRNUM
Package

laap

Source

cffi.lisp (file)

Function: strerror ERRNUM
Package

laap/socket

Source

cffi.lisp (file)

Function: strerror ERRNUM
Package

laap/fs

Source

cffi.lisp (file)

Function: timerfd-create CLOCKID FLAGS
Package

laap

Source

cffi.lisp (file)

Function: timerfd-gettime FD CURR-VALUE
Package

laap

Source

cffi.lisp (file)

Function: timerfd-settime FD FLAGS NEW-VALUE OLD-VALUE
Package

laap

Source

cffi.lisp (file)

Function: wait-from-action-queue ACTION
Package

laap

Source

thread-pool.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.5 Generic functions

Generic Function: action-queue OBJECT
Generic Function: (setf action-queue) NEW-VALUE OBJECT
Package

laap

Methods
Method: action-queue (THREAD-POOL thread-pool)

automatically generated reader method

Source

thread-pool.lisp (file)

Method: (setf action-queue) NEW-VALUE (THREAD-POOL thread-pool)

automatically generated writer method

Source

thread-pool.lisp (file)

Generic Function: action-queue-lock OBJECT
Generic Function: (setf action-queue-lock) NEW-VALUE OBJECT
Package

laap

Methods
Method: action-queue-lock (THREAD-POOL thread-pool)

automatically generated reader method

Source

thread-pool.lisp (file)

Method: (setf action-queue-lock) NEW-VALUE (THREAD-POOL thread-pool)

automatically generated writer method

Source

thread-pool.lisp (file)

Generic Function: blocking OBJECT
Generic Function: (setf blocking) NEW-VALUE OBJECT
Package

laap

Methods
Method: blocking (THREAD-PROPERTIES thread-properties)

automatically generated reader method

Source

thread-pool.lisp (file)

Method: (setf blocking) NEW-VALUE (THREAD-PROPERTIES thread-properties)

automatically generated writer method

Source

thread-pool.lisp (file)

Generic Function: closed OBJECT
Generic Function: (setf closed) NEW-VALUE OBJECT
Package

laap

Methods
Method: closed (TIMER timer)

automatically generated reader method

Source

timer.lisp (file)

Method: (setf closed) NEW-VALUE (TIMER timer)

automatically generated writer method

Source

timer.lisp (file)

Generic Function: data OBJECT
Generic Function: (setf data) NEW-VALUE OBJECT
Package

laap/socket

Methods
Method: data (TIMER-SOCKET-SEND timer-socket-send)

automatically generated reader method

Source

socket.lisp (file)

Method: (setf data) NEW-VALUE (TIMER-SOCKET-SEND timer-socket-send)

automatically generated writer method

Source

socket.lisp (file)

Generic Function: direction OBJECT
Package

laap/fs

Methods
Method: direction (FILE file)

automatically generated reader method

Source

fs.lisp (file)

Generic Function: efd OBJECT
Generic Function: (setf efd) NEW-VALUE OBJECT
Package

laap

Methods
Method: efd (EVENT-LOOP event-loop)

automatically generated reader method

Source

loop.lisp (file)

Method: (setf efd) NEW-VALUE (EVENT-LOOP event-loop)

automatically generated writer method

Source

loop.lisp (file)

Generic Function: end-callback OBJECT
Package

laap/socket

Methods
Method: end-callback (TIMER-SOCKET-RECEIVE timer-socket-receive)

automatically generated reader method

Source

socket.lisp (file)

Generic Function: err OBJECT
Package

laap

Methods
Method: err (THREAD-ERROR thread-error)

automatically generated reader method

Source

thread-pool.lisp (file)

Generic Function: event OBJECT
Generic Function: (setf event) NEW-VALUE OBJECT
Package

laap

Methods
Method: event (ACTION-QUEUE-ITEM action-queue-item)

automatically generated reader method

Source

thread-pool.lisp (file)

Method: (setf event) NEW-VALUE (ACTION-QUEUE-ITEM action-queue-item)

automatically generated writer method

Source

thread-pool.lisp (file)

Method: event (THREAD-POOL thread-pool)

automatically generated reader method

Source

thread-pool.lisp (file)

Method: (setf event) NEW-VALUE (THREAD-POOL thread-pool)

automatically generated writer method

Source

thread-pool.lisp (file)

Generic Function: execute ACTION

Execute an action.

Package

laap

Source

thread-pool.lisp (file)

Methods
Method: execute (ACTION unblocking-action)
Method: execute (ACTION blocking-action)
Method: execute (ACTION thread-error)
Method: execute (ACTION new-thread-action)
Generic Function: fd OBJECT
Package

laap/socket

Methods
Method: fd (SOCKET socket)

automatically generated reader method

Source

socket.lisp (file)

Generic Function: fd OBJECT
Generic Function: (setf fd) NEW-VALUE OBJECT
Package

laap/fs

Methods
Method: fd (FILE file)

automatically generated reader method

Source

fs.lisp (file)

Method: (setf fd) NEW-VALUE (FILE file)

automatically generated writer method

Source

fs.lisp (file)

Generic Function: if-does-not-exist OBJECT
Generic Function: (setf if-does-not-exist) NEW-VALUE OBJECT
Package

laap/fs

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

automatically generated reader method

Source

fs.lisp (file)

Method: (setf if-does-not-exist) NEW-VALUE (FILE file)

automatically generated writer method

Source

fs.lisp (file)

Generic Function: lock OBJECT
Generic Function: (setf lock) NEW-VALUE OBJECT
Package

laap

Methods
Method: lock (ACTION-QUEUE-ITEM action-queue-item)

automatically generated reader method

Source

thread-pool.lisp (file)

Method: (setf lock) NEW-VALUE (ACTION-QUEUE-ITEM action-queue-item)

automatically generated writer method

Source

thread-pool.lisp (file)

Method: lock (THREAD-POOL thread-pool)

automatically generated reader method

Source

thread-pool.lisp (file)

Method: (setf lock) NEW-VALUE (THREAD-POOL thread-pool)

automatically generated writer method

Source

thread-pool.lisp (file)

Generic Function: max-event-loops OBJECT
Generic Function: (setf max-event-loops) NEW-VALUE OBJECT
Package

laap

Methods
Method: max-event-loops (THREAD-POOL thread-pool)

automatically generated reader method

Source

thread-pool.lisp (file)

Method: (setf max-event-loops) NEW-VALUE (THREAD-POOL thread-pool)

automatically generated writer method

Source

thread-pool.lisp (file)

Generic Function: path OBJECT
Generic Function: (setf path) NEW-VALUE OBJECT
Package

laap/fs

Methods
Method: path (FILE file)

automatically generated reader method

Source

fs.lisp (file)

Method: (setf path) NEW-VALUE (FILE file)

automatically generated writer method

Source

fs.lisp (file)

Generic Function: queue OBJECT
Generic Function: (setf queue) NEW-VALUE OBJECT
Package

laap

Methods
Method: queue (THREAD-POOL thread-pool)

automatically generated reader method

Source

thread-pool.lisp (file)

Method: (setf queue) NEW-VALUE (THREAD-POOL thread-pool)

automatically generated writer method

Source

thread-pool.lisp (file)

Generic Function: reporters OBJECT
Generic Function: (setf reporters) NEW-VALUE OBJECT
Package

laap

Methods
Method: reporters (THREAD-POOL thread-pool)

automatically generated reader method

Source

thread-pool.lisp (file)

Method: (setf reporters) NEW-VALUE (THREAD-POOL thread-pool)

automatically generated writer method

Source

thread-pool.lisp (file)

Generic Function: reporters-lock OBJECT
Generic Function: (setf reporters-lock) NEW-VALUE OBJECT
Package

laap

Methods
Method: reporters-lock (THREAD-POOL thread-pool)

automatically generated reader method

Source

thread-pool.lisp (file)

Method: (setf reporters-lock) NEW-VALUE (THREAD-POOL thread-pool)

automatically generated writer method

Source

thread-pool.lisp (file)

Generic Function: result OBJECT
Generic Function: (setf result) NEW-VALUE OBJECT
Package

laap

Methods
Method: result (ACTION-QUEUE-ITEM action-queue-item)

automatically generated reader method

Source

thread-pool.lisp (file)

Method: (setf result) NEW-VALUE (ACTION-QUEUE-ITEM action-queue-item)

automatically generated writer method

Source

thread-pool.lisp (file)

Generic Function: socket-domain OBJECT
Package

laap/socket

Methods
Method: socket-domain (SOCKET socket)

automatically generated reader method

Source

socket.lisp (file)

Generic Function: socket-protocol OBJECT
Package

laap/socket

Methods
Method: socket-protocol (SOCKET socket)

automatically generated reader method

Source

socket.lisp (file)

Generic Function: socket-type OBJECT
Package

laap/socket

Methods
Method: socket-type (SOCKET socket)

automatically generated reader method

Source

socket.lisp (file)

Generic Function: started OBJECT
Generic Function: (setf started) NEW-VALUE OBJECT
Package

laap

Methods
Method: started (EVENT-LOOP event-loop)

automatically generated reader method

Source

loop.lisp (file)

Method: (setf started) NEW-VALUE (EVENT-LOOP event-loop)

automatically generated writer method

Source

loop.lisp (file)

Generic Function: thread OBJECT
Package

laap

Methods
Method: thread (UNBLOCKING-ACTION unblocking-action)

automatically generated reader method

Source

thread-pool.lisp (file)

Method: thread (BLOCKING-ACTION blocking-action)

automatically generated reader method

Source

thread-pool.lisp (file)

Method: thread (THREAD-ERROR thread-error)

automatically generated reader method

Source

thread-pool.lisp (file)

Generic Function: threads OBJECT
Generic Function: (setf threads) NEW-VALUE OBJECT
Package

laap

Methods
Method: threads (THREAD-POOL thread-pool)

automatically generated reader method

Source

thread-pool.lisp (file)

Method: (setf threads) NEW-VALUE (THREAD-POOL thread-pool)

automatically generated writer method

Source

thread-pool.lisp (file)

Generic Function: timers OBJECT
Generic Function: (setf timers) NEW-VALUE OBJECT
Package

laap

Methods
Method: timers (EVENT-LOOP event-loop)

automatically generated reader method

Source

loop.lisp (file)

Method: (setf timers) NEW-VALUE (EVENT-LOOP event-loop)

automatically generated writer method

Source

loop.lisp (file)

Generic Function: timers-lock OBJECT
Generic Function: (setf timers-lock) NEW-VALUE OBJECT
Package

laap

Methods
Method: timers-lock (EVENT-LOOP event-loop)

automatically generated reader method

Source

loop.lisp (file)

Method: (setf timers-lock) NEW-VALUE (EVENT-LOOP event-loop)

automatically generated writer method

Source

loop.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.6 Classes

Class: action ()
Package

laap

Source

thread-pool.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Class: action-queue-item ()
Package

laap

Source

thread-pool.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • initialize-instance (method)
  • result (method)
  • result (method)
  • event (method)
  • event (method)
  • lock (method)
  • lock (method)
Direct slots
Slot: lock
Readers

lock (generic function)

Writers

(setf lock) (generic function)

Slot: event
Readers

event (generic function)

Writers

(setf event) (generic function)

Slot: result
Readers

result (generic function)

Writers

(setf result) (generic function)

Class: blocking-action ()
Package

laap

Source

thread-pool.lisp (file)

Direct superclasses

action (class)

Direct methods
Direct slots
Slot: thread
Initargs

:thread

Readers

thread (generic function)

Class: epoll-event-tclass ()
Package

laap

Source

cffi.lisp (file)

Direct superclasses
  • translatable-foreign-type (class)
  • foreign-struct-type (class)
Class: event-loop ()
Package

laap

Source

loop.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • initialize-instance (method)
  • started (method)
  • started (method)
  • efd (method)
  • efd (method)
  • timers-lock (method)
  • timers-lock (method)
  • timers (method)
  • timers (method)
Direct slots
Slot: timers
Readers

timers (generic function)

Writers

(setf timers) (generic function)

Slot: timers-lock
Readers

timers-lock (generic function)

Writers

(setf timers-lock) (generic function)

Slot: efd
Readers

efd (generic function)

Writers

(setf efd) (generic function)

Slot: started
Readers

started (generic function)

Writers

(setf started) (generic function)

Class: in-addr-tclass ()
Package

laap/socket

Source

cffi.lisp (file)

Direct superclasses
  • translatable-foreign-type (class)
  • foreign-struct-type (class)
Class: itimerspec-tclass ()
Package

laap

Source

cffi.lisp (file)

Direct superclasses
  • translatable-foreign-type (class)
  • foreign-struct-type (class)
Class: new-thread-action ()
Package

laap

Source

thread-pool.lisp (file)

Direct superclasses

action (class)

Direct methods
Direct slots
Slot: callback
Initargs

:callback

Readers

callback (generic function)

Class: sockaddr-in-tclass ()
Package

laap/socket

Source

cffi.lisp (file)

Direct superclasses
  • translatable-foreign-type (class)
  • foreign-struct-type (class)
Class: socket ()

An object abstracting over a socket.

Package

laap/socket

Source

socket.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses

ipv4-tcp-socket (class)

Direct methods
Direct slots
Slot: fd
Initargs

:fd

Readers

fd (generic function)

Slot: domain
Readers

socket-domain (generic function)

Slot: type
Readers

socket-type (generic function)

Slot: protocol
Readers

socket-protocol (generic function)

Class: socket-timer ()

A socket-based event loop timer.

Package

laap/socket

Source

socket.lisp (file)

Direct superclasses

timer (class)

Direct subclasses
Direct methods

handle-error (method)

Class: stat-tclass ()
Package

laap/fs

Source

cffi.lisp (file)

Direct superclasses
  • translatable-foreign-type (class)
  • foreign-struct-type (class)
Class: thread-error ()
Package

laap

Source

thread-pool.lisp (file)

Direct superclasses

action (class)

Direct methods
Direct slots
Slot: thread
Initargs

:thread

Readers

thread (generic function)

Slot: err
Initargs

:error

Readers

err (generic function)

Class: thread-pool ()
Package

laap

Source

thread-pool.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: event
Readers

event (generic function)

Writers

(setf event) (generic function)

Slot: queue
Readers

queue (generic function)

Writers

(setf queue) (generic function)

Slot: lock
Readers

lock (generic function)

Writers

(setf lock) (generic function)

Slot: threads
Readers

threads (generic function)

Writers

(setf threads) (generic function)

Slot: max-event-loops
Readers

max-event-loops (generic function)

Writers

(setf max-event-loops) (generic function)

Slot: action-queue
Readers

action-queue (generic function)

Writers

(setf action-queue) (generic function)

Slot: action-queue-lock
Readers

action-queue-lock (generic function)

Writers

(setf action-queue-lock) (generic function)

Slot: reporters
Readers

reporters (generic function)

Writers

(setf reporters) (generic function)

Slot: reporters-lock
Readers

reporters-lock (generic function)

Writers

(setf reporters-lock) (generic function)

Class: thread-properties ()
Package

laap

Source

thread-pool.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: blocking
Initargs

:blocking

Readers

blocking (generic function)

Writers

(setf blocking) (generic function)

Class: timer-socket-accept ()

Event loop timer for the socket’s accept method.

Package

laap/socket

Source

socket.lisp (file)

Direct superclasses

socket-timer (class)

Direct methods

handle-event (method)

Direct slots
Slot: direction
Initform

laap/socket::+epollin+

Class: timer-socket-connect ()

Event loop timer for the socket’s connect method.

Package

laap/socket

Source

socket.lisp (file)

Direct superclasses

socket-timer (class)

Direct methods

handle-event (method)

Direct slots
Slot: direction
Initform

laap/socket::+epollout+

Class: timer-socket-receive ()

Event loop timer for the socket’s receive method.

Package

laap/socket

Source

socket.lisp (file)

Direct superclasses

socket-timer (class)

Direct methods
Direct slots
Slot: direction
Initform

laap/socket::+epollin+

Slot: end-callback
Initargs

:end-callback

Readers

end-callback (generic function)

Class: timer-socket-send ()

Event loop timer for the socket’s send method.

Package

laap/socket

Source

socket.lisp (file)

Direct superclasses

socket-timer (class)

Direct methods
Direct slots
Slot: direction
Initform

laap/socket::+epollout+

Slot: data
Initargs

:data

Readers

data (generic function)

Writers

(setf data) (generic function)

Class: timer-timer ()

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

Package

laap

Source

timer.lisp (file)

Direct superclasses

timer (class)

Direct methods
Direct slots
Slot: direction
Initform

laap::+epollin+

Class: timespec-tclass ()
Package

laap

Source

cffi.lisp (file)

Direct superclasses
  • translatable-foreign-type (class)
  • foreign-struct-type (class)
Class: unblocking-action ()
Package

laap

Source

thread-pool.lisp (file)

Direct superclasses

action (class)

Direct methods
Direct slots
Slot: thread
Initargs

:thread

Readers

thread (generic function)


Previous: , Up: Internal definitions   [Contents][Index]

6.2.7 Types

Type: direction ()
Package

laap/fs

Source

fs.lisp (file)

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

laap/fs

Source

fs.lisp (file)


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

Appendix A Indexes


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

A.1 Concepts

Jump to:   F   L   M  
Index Entry  Section

F
File, Lisp, laap.asd: The laap<dot>asd file
File, Lisp, laap/core/cffi.lisp: The laap/core/cffi<dot>lisp file
File, Lisp, laap/core/condition.lisp: The laap/core/condition<dot>lisp file
File, Lisp, laap/core/laap.lisp: The laap/core/laap<dot>lisp file
File, Lisp, laap/core/loop.lisp: The laap/core/loop<dot>lisp file
File, Lisp, laap/core/package.lisp: The laap/core/package<dot>lisp file
File, Lisp, laap/core/thread-pool.lisp: The laap/core/thread-pool<dot>lisp file
File, Lisp, laap/core/timer.lisp: The laap/core/timer<dot>lisp file
File, Lisp, laap/fs/cffi.lisp: The laap/fs/cffi<dot>lisp file
File, Lisp, laap/fs/fs.lisp: The laap/fs/fs<dot>lisp file
File, Lisp, laap/fs/package.lisp: The laap/fs/package<dot>lisp file
File, Lisp, laap/socket/cffi.lisp: The laap/socket/cffi<dot>lisp file
File, Lisp, laap/socket/package.lisp: The laap/socket/package<dot>lisp file
File, Lisp, laap/socket/socket.lisp: The laap/socket/socket<dot>lisp file

L
laap.asd: The laap<dot>asd file
laap/core: The laap/core module
laap/core/cffi.lisp: The laap/core/cffi<dot>lisp file
laap/core/condition.lisp: The laap/core/condition<dot>lisp file
laap/core/laap.lisp: The laap/core/laap<dot>lisp file
laap/core/loop.lisp: The laap/core/loop<dot>lisp file
laap/core/package.lisp: The laap/core/package<dot>lisp file
laap/core/thread-pool.lisp: The laap/core/thread-pool<dot>lisp file
laap/core/timer.lisp: The laap/core/timer<dot>lisp file
laap/fs: The laap/fs module
laap/fs/cffi.lisp: The laap/fs/cffi<dot>lisp file
laap/fs/fs.lisp: The laap/fs/fs<dot>lisp file
laap/fs/package.lisp: The laap/fs/package<dot>lisp file
laap/socket: The laap/socket module
laap/socket/cffi.lisp: The laap/socket/cffi<dot>lisp file
laap/socket/package.lisp: The laap/socket/package<dot>lisp file
laap/socket/socket.lisp: The laap/socket/socket<dot>lisp file
Lisp File, laap.asd: The laap<dot>asd file
Lisp File, laap/core/cffi.lisp: The laap/core/cffi<dot>lisp file
Lisp File, laap/core/condition.lisp: The laap/core/condition<dot>lisp file
Lisp File, laap/core/laap.lisp: The laap/core/laap<dot>lisp file
Lisp File, laap/core/loop.lisp: The laap/core/loop<dot>lisp file
Lisp File, laap/core/package.lisp: The laap/core/package<dot>lisp file
Lisp File, laap/core/thread-pool.lisp: The laap/core/thread-pool<dot>lisp file
Lisp File, laap/core/timer.lisp: The laap/core/timer<dot>lisp file
Lisp File, laap/fs/cffi.lisp: The laap/fs/cffi<dot>lisp file
Lisp File, laap/fs/fs.lisp: The laap/fs/fs<dot>lisp file
Lisp File, laap/fs/package.lisp: The laap/fs/package<dot>lisp file
Lisp File, laap/socket/cffi.lisp: The laap/socket/cffi<dot>lisp file
Lisp File, laap/socket/package.lisp: The laap/socket/package<dot>lisp file
Lisp File, laap/socket/socket.lisp: The laap/socket/socket<dot>lisp file

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

Jump to:   F   L   M  

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

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: Internal functions
%add-to-queue: Internal functions
%pipe2: Internal functions
%var-accessor-errno: Internal functions
%var-accessor-errno: Internal functions
%var-accessor-errno: Internal functions

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

A
accept: Exported generic functions
accept: Exported generic functions
action-queue: Internal generic functions
action-queue: Internal generic functions
action-queue-lock: Internal generic functions
action-queue-lock: Internal generic functions
add-event: Internal functions
add-reporter: Exported functions
add-thread: Internal functions
add-timer: Exported generic functions
add-timer: Exported generic functions
add-timer-in: Internal functions
add-to-action-queue: Internal functions
add-to-queue: Internal functions

B
blocking: Internal generic functions
blocking: Internal generic functions

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

D
data: Internal generic functions
data: Internal generic functions
delay: Exported functions
direction: Exported generic functions
direction: Exported generic functions
direction: Internal generic functions
direction: Internal generic functions

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

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

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

H
handle-error: Exported generic functions
handle-error: Exported generic functions
handle-error: Exported generic functions
handle-event: Exported generic functions
handle-event: Exported generic functions
handle-event: Exported generic functions
handle-event: Exported generic functions
handle-event: Exported generic functions
handle-event: Exported generic functions
htons: Internal functions

I
if-does-not-exist: Internal generic functions
if-does-not-exist: Internal generic functions
inet-aton: Internal functions

L
link: Exported functions
lisp-buffer-to-c-buffer: Internal functions
listen: Exported generic functions
listen: Exported generic functions
lock: Internal generic functions
lock: Internal generic functions
lock: Internal generic functions

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

N
noop: Exported functions

P
path: Internal generic functions
path: Internal generic functions
pipe: Internal functions

Q
queue: Internal generic functions
queue: Internal generic functions
quit-event-loop: Internal functions

R
read: Exported generic functions
read: Exported generic functions
readlink: Exported functions
receive: Exported generic functions
receive: Exported generic functions
remove-timer: Exported generic functions
remove-timer: Exported generic functions
rename: Exported functions
reporters: Internal generic functions
reporters: Internal generic functions
reporters-lock: Internal generic functions
reporters-lock: Internal generic functions
result: Internal generic functions
result: Internal generic functions

S
send: Exported generic functions
send: Exported generic functions
socket-domain: Internal generic functions
socket-domain: Internal generic functions
socket-protocol: Internal generic functions
socket-protocol: Internal generic functions
socket-type: Internal generic functions
socket-type: Internal generic functions
spawn: Exported functions
start-event-loops: Internal functions
start-thread-pool: Internal functions
started: Internal generic functions
started: Internal generic functions
strerror: Internal functions
strerror: Internal functions
strerror: Internal functions
symlink: Exported functions

T
thread: Internal generic functions
thread: Internal generic functions
thread: Internal generic functions
thread: Internal generic functions
threads: Internal generic functions
threads: Internal generic functions
timerfd-create: Internal functions
timerfd-gettime: Internal functions
timerfd-settime: Internal functions
timers: Internal generic functions
timers: Internal generic functions
timers-lock: Internal generic functions
timers-lock: Internal generic functions
truncate: Exported generic functions
truncate: Exported generic functions

U
unlink: Exported functions

W
wait-from-action-queue: Internal functions
with-blocking-thread: Exported macros
with-event-loop: Exported macros
write: Exported generic functions
write: Exported generic functions

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

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

A.3 Variables

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

*
*loop*: Internal special variables
*recv-buffer-length*: Exported special variables
*thread-pool*: Internal special variables
*thread-should-exit*: Internal special variables

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

A
action-queue: Internal classes
action-queue-lock: Internal classes

B
blocking: Internal classes

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

D
data: Internal classes
direction: Exported classes
direction: Exported classes
direction: Internal classes
direction: Internal classes
direction: Internal classes
direction: Internal classes
direction: Internal classes
domain: Internal classes

E
efd: Internal classes
end-callback: Internal classes
err: Internal classes
errno: Exported symbol macros
errno: Exported conditions
errno: Internal symbol macros
errno: Internal symbol macros
event: Internal classes
event: Internal classes

F
fd: Exported classes
fd: Exported classes
fd: Internal classes

I
if-does-not-exist: Exported classes

L
lock: Internal classes
lock: Internal classes

M
max-event-loops: Internal classes

P
path: Exported classes
protocol: Internal classes

Q
queue: Internal classes

R
reporters: Internal classes
reporters-lock: Internal classes
result: Internal classes

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

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

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

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

A.4 Data types

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

A
action: Internal classes
action-queue-item: Internal classes

B
blocking-action: Internal classes

C
Class, action: Internal classes
Class, action-queue-item: Internal classes
Class, blocking-action: Internal classes
Class, epoll-event-tclass: Internal classes
Class, event-loop: Internal classes
Class, file: Exported classes
Class, in-addr-tclass: Internal classes
Class, ipv4-tcp-socket: Exported classes
Class, itimerspec-tclass: Internal classes
Class, new-thread-action: Internal classes
Class, sockaddr-in-tclass: Internal classes
Class, socket: Internal classes
Class, socket-timer: Internal classes
Class, stat-tclass: Internal classes
Class, thread-error: Internal classes
Class, thread-pool: Internal classes
Class, thread-properties: Internal classes
Class, timer: Exported classes
Class, timer-socket-accept: Internal classes
Class, timer-socket-connect: Internal classes
Class, timer-socket-receive: Internal classes
Class, timer-socket-send: Internal classes
Class, timer-timer: Internal classes
Class, timespec-tclass: Internal classes
Class, unblocking-action: Internal classes
Condition, epoll-error: Exported conditions
Condition, os-error: Exported conditions

D
direction: Internal types

E
epoll-error: Exported conditions
epoll-event-tclass: Internal classes
event-loop: Internal classes

F
file: Exported classes

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

L
laap: The laap system
laap: The laap package
laap/fs: The laap/fs package
laap/socket: The laap/socket package

N
new-thread-action: Internal classes

O
os-error: Exported conditions

P
Package, laap: The laap package
Package, laap/fs: The laap/fs package
Package, laap/socket: The laap/socket package

S
sockaddr-in-tclass: Internal classes
socket: Internal classes
socket-timer: Internal classes
stat-tclass: Internal classes
System, laap: The laap system

T
thread-error: Internal classes
thread-pool: Internal classes
thread-properties: Internal classes
timer: Exported classes
timer-socket-accept: Internal classes
timer-socket-connect: Internal classes
timer-socket-receive: Internal classes
timer-socket-send: Internal classes
timer-timer: Internal classes
timespec-tclass: Internal classes
Type, direction: Internal types
Type, if-does-not-exist: Internal types

U
unblocking-action: Internal classes

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