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: socketpair missing in 2.0?


On 25 Jul 2003, Gary D. Thomas wrote:

> However, it does bring up a point - this function is really designed for
> creating a socket/pipe which can be shared between two processes.  Since
> eCos is not process oriented, why would you want to use it?

Briefly, to provide controlled shutdown in cases where a thread is blocked
on socket I/O.  The thread does a poll/select on its "network" socket and
its "control" socket, and if data arrives on the control socket the thread
can abort.

> Also, why are you using a modified "net" template?  There are much
> better ways to adapt/tune your configuration than changing common
> files like the template.

Perhaps my wording was unclear.  I didn't change the template itself, I
created a new configuration file from the template and customized the
result.


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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