public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS]  What causes interrupted network system calls?
@ 2009-10-28 16:06 Grant Edwards
  2009-10-28 17:02 ` Carruth, Rusty
  0 siblings, 1 reply; 13+ messages in thread
From: Grant Edwards @ 2009-10-28 16:06 UTC (permalink / raw)
  To: ecos-discuss

Somebody working on a network-intensive eCos application
reported to me that in situations where there are frequent
connection open/close operations, the various socket-related
system calls (send, connect, etc.) are frequently returning
-EINTR.

This application was recently ported from the old NetBSD
network stack to the FreeBSD stack, and the -EINTR return
values were never seen with the old stack.

Is the frequent -EINTR return expected behavior for the new
stack?

Is there a way to get the stack to restart system calls, or is
application code required to check for -EINTR and retry system
calls?

-- 
Grant Edwards                   grante             Yow! I'm continually AMAZED
                                  at               at th'breathtaking effects
                               visi.com            of WIND EROSION!!


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-10-29 19:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-28 16:06 [ECOS] What causes interrupted network system calls? Grant Edwards
2009-10-28 17:02 ` Carruth, Rusty
2009-10-28 17:15   ` [ECOS] " Grant Edwards
2009-10-28 17:53     ` Nick Garnett
2009-10-28 18:05       ` Grant Edwards
2009-10-28 18:27         ` Nick Garnett
2009-10-28 18:40           ` Grant Edwards
2009-10-29 18:34           ` Grant Edwards
2009-10-29 18:53             ` Nick Garnett
2009-10-29 19:04               ` Grant Edwards
2009-10-28 18:33         ` Grant Edwards
2009-10-28 18:41           ` Nick Garnett
2009-10-28 18:15       ` Carruth, Rusty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).