Re: How can I interrupt blocking accept() to get errno=EINTR




lazy.tramp@xxxxxxxxx wrote:
I wonder how can I interrupt blocking accept() to get errno=EINTR. I
have tried SIGALRM but my program just terminated (I couldnt catch
EINTR).

You send a signal. Don't forget to handle a signal by installing a
signal handler or ignoring the signal if possible.

.



Relevant Pages

  • How can I interrupt blocking accept() to get errno=EINTR
    ... I wonder how can I interrupt blocking acceptto get errno=EINTR. ... have tried SIGALRM but my program just terminated (I couldnt catch ... EINTR). ...
    (comp.unix.programmer)
  • Re: Ping not working
    ... see if packets routed to your second server. ... Received signal #14, SIGALRM, in getmsg() ... Err#4 EINTR ...
    (comp.unix.solaris)
  • Ping not working
    ... But while I ping the same machine it is showing it is alive. ... Received signal #14, SIGALRM, in getmsg() ... Err#4 EINTR ...
    (comp.unix.solaris)
  • Re: V250 + solaris 2.8 + VxVM 4.0 => shutdown problem
    ... Received signal #14, SIGALRM, in sigsuspend() ... 2569: sigsuspendErr#4 EINTR ... > Simulate this problem, and then when ps is hung, take truss & pstack ...
    (comp.unix.solaris)
  • device packages?!? (installing fibre-channel cards)
    ... after installing two new fibre-channel cards & two ethernet cards ... into a p630 and powering back up, i couldnt see them listed as ... for device support but are not currently installed. ...
    (comp.unix.aix)