mailbox

2013-10-03

mailbox

Simple multithreading mailboxes for Common Lisp.

API

(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.

Dependencies

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

License

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

Author
Lucien Pullen <drurowin@gmail.com>
License
MIT