[ECOS] Re: Are Socket Descriptors Thread Safe?

Grant Edwards grante@visi.com
Fri May 21 17:40:00 GMT 2004


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



More information about the Ecos-discuss mailing list