help-smalltalk
[Top][All Lists]
Advanced

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

[Help-smalltalk] Good/bad news on the segmentation violation and hangups


From: Paolo Bonzini
Subject: [Help-smalltalk] Good/bad news on the segmentation violation and hangups
Date: Thu, 7 Feb 2002 10:58:32 +0100

Good news: I've found the cause of the segmentation violation: it's two
stupid mistakes on my part.  1) I was not protecting well enough the queue
of semaphores to be signalled and this caused sharing problems.  2) I was
stupidly reallocating the array of `struct pollfd's under the
filePollingHandler's feet.  Both of these are fixed.

Bad news: the cause of the hangups is much worse than I thought: Linux does
not generate SIGIO when output is possible for tty devices!!!  I guess the
only possibility is to do output by polling repeatedly, and input using
SIGIO/SIGURG.

|_  _  _ __
|_)(_)| ),'
------- '---




reply via email to

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