mailbox

2013-10-03

Simple multithreading mailboxes.

Upstream URL

github.com/drurowin/mailbox

Author

Lucien Pullen <drurowin@gmail.com>

License

MIT
README

1mailbox

Simple multithreading mailboxes for Common Lisp.

1.1API

(make-mailbox)---Create a new mailbox object.

(mailboxp /object/)---Return T iff object is a mailbox object. The object must obey the following interface.

(post-mail /object/ mailbox)---Add object to mailbox. object is returned.

(read-mail /mailbox/)---Return multiple values the oldest object in mailbox and T if the mailbox is not empty, otherwise NIL and NIL.

1.2Dependencies

This library uses the Bordeaux Threads library for working with locks.

1.3License

mailbox is licensed under the MIT license. That basically means you can do anything with it.

Dependencies (1)

  • bordeaux-threads

Dependents (0)

    • GitHub
    • Quicklisp