Is there some kind of Blocking Queue for D?
Bienlein
ffm2002 at web.de
Thu Jul 10 14:28:31 UTC 2025
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.
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.
More information about the Digitalmars-d-learn
mailing list