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: Grant Edwards <grante at visi dot com>
- To: Nick Garnett <nickg at ecoscentric dot com>
- Cc: Matt Jerdonek <maj1224 at yahoo dot com>, "Jeffrey R. Szczepanski" <jrs at inscitek dot com>, ecos-discuss at sources dot redhat dot com
- Date: Fri, 21 May 2004 11:18:09 -0500
- Subject: Re: [ECOS] Re: Are Socket Descriptors Thread Safe?
- References: <20040521143055.96406.qmail@web14206.mail.yahoo.com> <m37jv5izo7.fsf@miso.calivar.com>
On Fri, May 21, 2004 at 04:10:32PM +0100, Nick Garnett wrote:
>> 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 ...
Same here.
> 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.
There were a few mutex bugs with the old network stack back in
the 1.2.1 days, but they were all fixed years ago.
--
Grant Edwards
grante@visi.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