Is there some kind of Blocking Queue for D?

Guillaume Piolat first.nam_e at gmail.com
Sun Jul 13 13:45:27 UTC 2025


On Thursday, 10 July 2025 at 09:22:30 UTC, Bienlein wrote:
> Hello,
>
> I'm looking for some kind of blocking queue for D, that is if 
> the queue is empty the thread doing a take on the queue is 
> blocked until an item has been added to the queue. Couldn't 
> find anything in the standard library.
>
> Thank you, Oliver

Here there are a locked queue:
https://github.com/AuburnSounds/Dplug/blob/master/core/dplug/core/lockedqueue.d

package is named: "dplug:core"




More information about the Digitalmars-d-learn mailing list