This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Net BSD network stack posix tasks -
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "Alok Singh" <aloks at broadcom dot com>
- Cc: <ecos-discuss at ecos dot sourceware dot org>
- Date: 29 May 2007 18:26:10 +0100
- Subject: Re: [ECOS] Net BSD network stack posix tasks -
- References: <FE7FB54DCB7C6949A1D3F9FF22DA6C135AAF0E@lvl7in-mail01.lvl7.com>
"Alok Singh" <aloks@broadcom.com> writes:
> Hi,
> I don't understand licensing issues much. I've a question. Am I allowed
> to convert network stack threads to posix threads instead of native cyg
> threads? I've compatibility issues making ecos network stack work with
> my application (Posix based.) Though there are ways to overcome this
> issue, but they affect the performance of the system.
(I'm not sure why this has anything to do with licensing.)
The network threads are internal to the stack. POSIX threads are for
running application code. The network threads will never run
application code and so don't need to be POSIX threads. The network
threads work perfectly well alongside POSIX applications without
needing to be POSIX threads themselves.
I don't know what problems you are having, but your suggestion is
almost certainly the wrong solution. It sounds to me like you are
trying to do something that eCos doesn't support. Tell us what the
problem is and maybe someone can offer a better solution.
--
Nick Garnett eCos Kernel Architect
eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss