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]

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]