[ECOS] Cancelling a Blocking network call
Trenton D. Adams
tadams@theone.dnsalias.com
Tue Aug 21 07:31:00 GMT 2001
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
More information about the Ecos-discuss
mailing list