signal behavior and restarting system calls

a sun (asun@saul7.u.washington.edu)
Mon, 25 Jan 1999 11:30:47 -0800 (PST)


mwood@IUPUI.Edu said:
> Very nice, but sadly nonportable. Sounds like we need an all-Unix
> conference to hash out an acceptable common solution, unless the
> majority really, really loves writing #ifdef s.

Actually, with proper manipulation of sigaction, you get the
restart behavior out of SunOS, and I believe most other UNICES as
well. I think it is SA_RESTART or somesuch. I forget.

really? i thought the problem with SunOS 4 (and other older OSes like
ultrix) was the lack of SA_RESTART. at least that's why i still keep
checks for EINTR around.

-a

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/