lkml.org 
[lkml]   [1999]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsignal behavior and restarting system calls

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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.026 / U:1.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site