On 04/21/2011 07:52 AM, Paolo Bonzini wrote:

> but you're walking on thin ice here.  Every time you have a timeout,
> you should assume that the data structures are in an inconsistent
> state (just like when you #terminate a Process).  I suggest making
> your sockets unbuffered if it's not too much overhead.

Right. It is not Erlang after all and we have side-effects. I am not sure on
the semantics of the following. My work around would be something like

[
        socket waitUntilItCanRead
] timeout...


but I am not sure if canRead and such will behave better.

_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to