[ECOS] Re: Are Socket Descriptors Thread Safe?

Nick Garnett nickg@ecoscentric.com
Fri May 21 16:45:00 GMT 2004


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



More information about the Ecos-discuss mailing list