This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: TCP close(...) action
- From: Matt Jerdonek <maj1224 at yahoo dot com>
- To: Andrew Lunn <andrew at lunn dot ch>
- Cc: Discussion eCos <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 22 Oct 2003 09:06:16 -0700 (PDT)
- 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