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"


              • Re:... H. S. Teoh via Digitalmars-d-learn
              • Re:... Jonathan M Davis via Digitalmars-d-learn
              • Re:... monkyyy via Digitalmars-d-learn
              • Re:... Bienlein via Digitalmars-d-learn
              • Re:... Jonathan M Davis via Digitalmars-d-learn
            • Re: Is ... Renato Athaydes via Digitalmars-d-learn
            • Re: Is ... Ali Çehreli via Digitalmars-d-learn
              • Re:... Jonathan M Davis via Digitalmars-d-learn
            • Re: Is ... Steven Schveighoffer via Digitalmars-d-learn
        • Re: Is there som... Imperatorn via Digitalmars-d-learn
  • Re: Is there some kind of Blo... Guillaume Piolat via Digitalmars-d-learn

Reply via email to