This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Re: Are Socket Descriptors Thread Safe?
- From: Matt Jerdonek <maj1224 at yahoo dot com>
- To: "Jeffrey R. Szczepanski" <jrs at inscitek dot com>, ecos-discuss at sources dot redhat dot com
- Date: Fri, 21 May 2004 07:30:55 -0700 (PDT)
- Subject: Re: [ECOS] Re: Are Socket Descriptors Thread Safe?
We have a product that is setup exactly as you
describe using the FreeBSD stack, except it uses TCP
instead of UDP. No thread problems ...
-- Matt
--- "Jeffrey R. Szczepanski" <jrs@inscitek.com> wrote:
> Sorry for the typo -> I meant BSD based stacks, of
> course.
> Anybody?
>
> Thanks in advance,
> -Jeff
>
> ----- Original Message -----
> From: "Jeffrey R. Szczepanski" <jrs@inscitek.com>
> To: <ecos-discuss@sources.redhat.com>
> Sent: Thursday, May 20, 2004 10:33 AM
> Subject: Are Socket Descriptors Thread Safe?
>
>
> > In eCos, when using the BSB based network stacks,
> I am wondering if the
> use
> > of socket descriptors is thread safe or not? For
> example, when a socket is
> > created for a UDP port, is it safe to have one
> thread blocking and reading
> > on the socket descriptor to pickup incoming
> datagrams, while another
> thread
> > uses the same socket descriptor to do writes out
> on the same socket?
> >
> > Thanks in advance,
> > Jeff
> > jrs@inscitek.com
> >
>
>
> --
> Before posting, please read the FAQ:
> http://ecos.sourceware.org/fom/ecos
> and search the list archive:
> http://ecos.sourceware.org/ml/ecos-discuss
>
__________________________________
Do you Yahoo!?
Yahoo! Domains ? Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss