Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii)
Subject: Re: Help required: INTERRUPTED SYSTEM CALL
Date: 1999/12/17	[thread overview]
Message-ID: <83dp3a$h0m$1@nserve1.acs.ucalgary.ca> (raw)
In-Reply-To: 83di8a$9et$1@news5.jaring.my

Wendy Lim (wendyl@pd.jaring.my) wrote:
: This application runs on at three different  environments which are
: identical in terms of the hard
:  disk space, memory etc. Only on the production environment does it
: encounter the above error
:  after a specific event (the event is associated with day end processing
: jobs on our system). The
: " Interrupted system call error" causes the application
:  to exit.  I put in debug statements and ran a test on the
:  production systems and found the following results:

Any correctly written program must be prepared to receive EINTR from msgrcv(),
as well as from most blocking system calls, and to deal with it (usually simply 
by re-issuing msgrcv()). EINTR simply indicates that a non-ignored signal (see 
"man 4 signal") arrived while msgrcv() was waiting for a message. This behavior
is clearly documented in the msgrcv manual page.

You can look up the rationaly for this behavior in any decent Unix programming 
text.

/Serge.P


--
home page: http://www.cobalt.chem.ucalgary.ca/ps/



      reply	other threads:[~1999-12-17  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-17  5:00 Help required: INTERRUPTED SYSTEM CALL Wendy Lim
1999-12-17  5:00 ` Serguei Patchkovskii [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox