From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6196 invoked by alias); 22 Oct 2003 16:17:43 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 6187 invoked from network); 22 Oct 2003 16:17:42 -0000 Received: from unknown (HELO mail.systech.com) (209.75.216.5) by sources.redhat.com with SMTP; 22 Oct 2003 16:17:42 -0000 Received: by mail.systech.com with Internet Mail Service (5.5.2650.21) id ; Wed, 22 Oct 2003 09:02:00 -0700 Message-ID: <80B97DE95AEED311BA580050047FE98494F751@mail.systech.com> From: Jay Foster To: 'Matt Jerdonek' , Andrew Lunn Cc: Discussion eCos Date: Wed, 22 Oct 2003 16:17:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE: [ECOS] TCP close(...) action X-SW-Source: 2003-10/txt/msg00398.txt.bz2 You could try sending the process a signal with kill(). SIGUSR1 might work. -----Original Message----- From: Matt Jerdonek [mailto:maj1224@yahoo.com] Sent: Wednesday, October 22, 2003 9:06 AM To: Andrew Lunn Cc: Discussion eCos Subject: Re: [ECOS] TCP close(...) action > If you re-write your test program to use POSIX > threads, it should then be possible to run it on > linux, SunOS, *BSD etc. We can then decide if this > is right or wrong. > > Andrew > > -- I ran the program on linux and got the same result (the close did not wake the recv). So, I guess that eCos is behaving correctly. As I mentioned before, I have a workaround using cyg_thread_release(..). Does anyone know of a POSIX method for waking the recv other than ending and restarting the thread? Thanks, -- Matt __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss