From: "Trenton D. Adams" <tadams@theone.dnsalias.com>
To: "'Jonathan Larmour'" <jlarmour@redhat.com>
Cc: "'Gary Thomas'" <gthomas@redhat.com>,
"'eCos Discussion'" <ecos-discuss@sourceware.cygnus.com>
Subject: RE: [ECOS] Cancelling a Blocking network call
Date: Tue, 21 Aug 2001 07:31:00 -0000 [thread overview]
Message-ID: <000701c12a4d$eb479570$090110ac@TRENT> (raw)
In-Reply-To: <3B819E81.7502904F@redhat.com>
I suppose I could, couldn't I! :) Is there any way of targetting a
specific thread only with the signal?
-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[ mailto:ecos-discuss-owner@sources.redhat.com ] On Behalf Of Jonathan
Larmour
Sent: Monday, August 20, 2001 5:34 PM
To: Trenton D. Adams
Cc: 'Gary Thomas'; 'eCos Discussion'
Subject: Re: [ECOS] Cancelling a Blocking network call
"Trenton D. Adams" wrote:
>
> 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.
You could include the fileio and posix packages and use signals.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223)
271062
Maybe this world is another planet's Hell -Aldous Huxley ||
Opinions==mine
next prev parent reply other threads:[~2001-08-21 7:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-20 15:11 Trenton D. Adams
2001-08-20 15:20 ` Gary Thomas
2001-08-20 15:21 ` Trenton D. Adams
2001-08-20 16:34 ` Jonathan Larmour
2001-08-21 7:31 ` Trenton D. Adams [this message]
2001-08-21 7:40 ` Jonathan Larmour
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000701c12a4d$eb479570$090110ac@TRENT' \
--to=tadams@theone.dnsalias.com \
--cc=ecos-discuss@sourceware.cygnus.com \
--cc=gthomas@redhat.com \
--cc=jlarmour@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).