On Monday, 29 June 2020 at 12:25:16 UTC, Steven Schveighoffer
wrote:
On 6/29/20 5:14 AM, ichneumwn wrote:
[...]
Not in the standard library. Such things require an event
framework, because there is no OS-agnostic provided mechanism
to sleep on all these things at once.
I recommend looking
On 6/29/20 5:14 AM, ichneumwn wrote:
Dear all,
Is there some facility in D for a single statement/function call that
will wait on both file descriptors, like Socket.select(), and will also
wake up when there is something to be receive()'d?
Not in the standard library. Such things require an
Dear all,
Is there some facility in D for a single statement/function call
that will wait on both file descriptors, like Socket.select(),
and will also wake up when there is something to be receive()'d?
One solution would be to have my main thread use receive() and a
helper thread that does