This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Are Socket Descriptors Thread Safe?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]