This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Cancelling a Blocking network call
- To: "'Gary Thomas'" <gthomas at redhat dot com>
- Subject: RE: [ECOS] Cancelling a Blocking network call
- From: "Trenton D. Adams" <tadams at extremeeng dot com>
- Date: Mon, 20 Aug 2001 16:21:34 -0600
- Cc: "'eCos Discussion'" <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Extreme Engineering
Let's say I call write () on a socket, and the other end of the
connection hangs. I might want to cancel that call. If the write ()
was done in another thread then yet another thread might be able to
cancel the write () call.
-----Original Message-----
From: gary@chez-thomas.org [mailto:gary@chez-thomas.org] On Behalf Of
Gary Thomas
Sent: Monday, August 20, 2001 4:24 PM
To: Trenton D. Adams
Cc: eCos Discussion
Subject: RE: [ECOS] Cancelling a Blocking network call
On 20-Aug-2001 Trenton D. Adams wrote:
> Is it possible to do this? If so, I would imagine the only way would
be
> to call close () on the socket right?
>
What do you mean 'cancel'?