queue-limit

Synopsis

(queue-limit queue)

Parameters

  • queue

Description

This procedure returns the currently active limit of the FIFO queue. Note: A limit of 0 identifies a queue as “unlimited”.

Side Effects

Return Value

The limit of the FIFO queue is returned.

Example

> (define q (queue-create))
q
> (queue-put! q "item")
ok
> (queue-limit q)
0
>