[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MIT-Scheme-devel] multi-threading fun: closing a socket

From: Matt Birkholz
Subject: Re: [MIT-Scheme-devel] multi-threading fun: closing a socket
Date: Sun, 29 Apr 2012 21:21:18 -0700

> From: Taylor R Campbell <address@hidden>
> Date: Sat, 28 Apr 2012 14:23:51 +0000
>    Date: Fri, 27 Apr 2012 18:40:16 -0700
>    From: Matt Birkholz <address@hidden>
>    ... and let's get concrete with the existing thread-event mechanism.
> Please don't.  It's extremely hard to engineer anything reliably [...]

Don't you know it is bad form to tell someone what they're doing is

> Interleaving output is one thing.  Crashing because of corrupted
> internal data structures is quite another.

OK, but let us count the cost.

>    > MIT Scheme has some particularly bad failure modes [...]
> One easy way is to close a channel that someone's waiting to do I/O
> on.

Oh my; that WAS spectacular.

But Scheme is just calling test-select-registry with a closed channel
still in io-registry.  I patched it.

Anything else?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]