xon/xoff, signals, hangup

Peter da Silva peter at ficc.uu.net
Sat Nov 19 07:34:24 AEST 1988


The basic problem here is that a process is only ever waiting on one
event at a time. This is so fundamental to UNIX that you don't ever
think about it... but there's really no reason why it has to be that
way.

Changing this would require a major change in how the kernel works, but
it'd be worth it in the long term. Realtime would become dead easy, for
example...

Here's an idea that would get you around this problem: when you send a signal
to a process, force a wakeup on whatever that process is waiting on. That
should make it pay attention to the signal and go on to die.
-- 
Peter da Silva  `-_-'  Ferranti International Controls Corporation
"Have you hugged  U  your wolf today?"     uunet.uu.net!ficc!peter
Disclaimer: My typos are my own damn business.   peter at ficc.uu.net



More information about the Comp.unix.wizards mailing list