Guile Library

(container async-queue)

Overview

A asynchronous queue can be used to safely send messages from one thread to another.

Usage

make-async-queue
[Function]

Create a new asynchronous queue.

async-enqueue! q elt
[Function]

Enqueue elt into q.

async-dequeue! q
[Function]

Dequeue a single element from q. If the queue is empty, the calling thread is blocked until an element is enqueued by another thread.