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: Nick Garnett <nickg at ecoscentric dot com>
- To: Matt Jerdonek <maj1224 at yahoo dot com>
- Cc: "Jeffrey R. Szczepanski" <jrs at inscitek dot com>, ecos-discuss at sources dot redhat dot com
- Date: 21 May 2004 16:10:32 +0100
- Subject: Re: [ECOS] Re: Are Socket Descriptors Thread Safe?
- References: <20040521143055.96406.qmail@web14206.mail.yahoo.com>
Matt Jerdonek <maj1224@yahoo.com> writes:
> 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 ...
Indeed. In Unix sockets can be used by multiple indpendent processes
through fork() so it must work in BSD. We have preserved the
multithreading/synchronization model of BSD in the network stack so
this should all still work as intended.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss