Socket and spawn()
Andy Valencia
dont at spam.me
Sun Jun 2 18:47:00 UTC 2024
On Sunday, 2 June 2024 at 17:46:09 UTC, bauss wrote:
> If anything you should use a thread pool that each handles a
> set of sockets, instead of each thread being a single socket.
Yup, thread pool it is. I'm still fleshing out the data
structure which manages the incoming work presented to the pool,
but here's what I have so far:
https://sources.vsta.org:7100/dlang/file?name=tiny/rotor.d&ci=tip
Andy
More information about the Digitalmars-d-learn
mailing list