The mailbox Reference Manual

This is the mailbox Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 06:01:54 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 mailbox

Simple multithreading mailboxes.

Author

Lucien Pullen <>

License

MIT

Dependency

bordeaux-threads (system).

Source

mailbox.asd.

Child Component

mailbox.lisp (file).


3 Files

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


3.1 Lisp


3.1.1 mailbox/mailbox.asd

Source

mailbox.asd.

Parent Component

mailbox (system).

ASDF Systems

mailbox.


3.1.2 mailbox/mailbox.lisp

Source

mailbox.asd.

Parent Component

mailbox (system).

Packages

mailbox.

Public Interface
Internals

mailbox (class).


4 Packages

Packages are listed by definition order.


4.1 mailbox

Source

mailbox.lisp.

Use List

common-lisp.

Public Interface
Internals

mailbox (class).


5 Definitions

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


5.1 Public Interface


5.1.1 Ordinary functions

Function: make-mailbox ()
Package

mailbox.

Source

mailbox.lisp.


5.1.2 Generic functions

Generic Function: mailboxp (object)

Return T if OBJECT is a mailbox.

Package

mailbox.

Source

mailbox.lisp.

Methods
Method: mailboxp (object)
Method: mailboxp ((object mailbox))
Generic Function: post-mail (object mailbox)

Add OBJECT to MAILBOX.

Package

mailbox.

Source

mailbox.lisp.

Methods
Method: post-mail (object (mailbox mailbox))
Generic Function: read-mail (mailbox)

Retrieve oldest object from MAILBOX.

If the mailbox is not empty return multiple values the object and T, otherwise NIL and NIL.

Package

mailbox.

Source

mailbox.lisp.

Methods
Method: read-mail ((mailbox mailbox))

5.1.3 Standalone methods

Method: initialize-instance :after ((the mailbox) &rest initargs)
Source

mailbox.lisp.


5.2 Internals


5.2.1 Classes

Class: mailbox
Package

mailbox.

Source

mailbox.lisp.

Direct methods
Direct slots
Slot: mailbox
Initform

(cons nil nil)

Slot: tail
Slot: lock
Initform

(bordeaux-threads:make-lock)

Slot: emptyp
Initform

t


Appendix A Indexes


A.1 Concepts


A.3 Variables