[Python-Dev] Signal-resistant code (was: Two random and nearly unrelated ideas)

Greg Ewing greg@cosc.canterbury.ac.nz
Thu, 05 Sep 2002 12:36:18 +1200 (NZST)


Jack Jansen <Jack.Jansen@oratrix.com>:

> Aside from some unix variations that basically didn't do restart at all 
> there have always been problems with signal restart semantics. For 
> sockets and various devices (raw ttys, I think) you could definitely 
> lose data.

Sockets? Are you sure? I find it unlikely that such a severe
problem could persist in many Unix variants for so long. I've
never heard of any mention of such a thing.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+