I'm following the D forum for quite a while, but have so far only written little code in D mostly in order to better understand some features in D. I might take it as a D programming exercise to create some blockinglist wrapper around slist where addition and removal from the list is overwritten to signal some semaphore so that a take on an empty list would result in the calling thread being blocked because the semaphore count has reached 0.
Re: Is there some kind of Blocking Queue for D?
Bienlein via Digitalmars-d-learn Thu, 10 Jul 2025 07:31:11 -0700
Thanks, Jonathan. The send and receive functions might do the job
for some specific purpose, but I would like to have some general
blockinglist class like an abstract data type.
- Is there some kind of Blocking Qu... Bienlein via Digitalmars-d-learn
- Re: Is there some kind of Bl... Jonathan M Davis via Digitalmars-d-learn
- Re: Is there some kind of Bl... Bienlein via Digitalmars-d-learn
- Re: Is there some kind o... Andy Valencia via Digitalmars-d-learn
- Re: Is there some kind o... Ali Çehreli via Digitalmars-d-learn
- Re: Is there some ki... Bienlein via Digitalmars-d-learn
- Re: Is there som... Ali Çehreli via Digitalmars-d-learn
- Re: Is ther... Jonathan M Davis via Digitalmars-d-learn
- Re: Is ... H. S. Teoh via Digitalmars-d-learn
- Re:... Jonathan M Davis via Digitalmars-d-learn
- Re: Is ther... monkyyy via Digitalmars-d-learn
- Re: Is ther... Bienlein via Digitalmars-d-learn
- Re: Is ... Jonathan M Davis via Digitalmars-d-learn