(queue-limit queue)
This procedure returns the currently active limit of the FIFO queue. Note: A limit of 0 identifies a queue as “unlimited”.
The limit of the FIFO queue is returned.
> (define q (queue-create))
q
> (queue-put! q "item")
ok
> (queue-limit q)
0
>