Network support with POSIX API
Eric Norum
wenorum at lbl.gov
Mon Jan 3 19:06:33 UTC 2011
On Jan 3, 2011, at 10:49 AM, João Rasta wrote:
> Thank you.
>
> I'm not using RT tasks, but standard POSIX threads. Anyway, assuming i do initialize both task and POSIX threads tables (because rtems_bsdnet_initialize_network() initializes a RT task), i'll have both POSIX_Init() and Init(). How are they managed?
POSIX threads map to core tasks.
You need to define a larger value for CONFIGURE_MAXIMUM_TASKS before including confdefs.h.
>
>
> Best,
> JM
>
> On Mon, Jan 3, 2011 at 5:44 PM, Eric Norum <wenorum at lbl.gov> wrote:
> You need to increase the number of tasks in the system.
> The error message is reporting the inability to start a network-related task -- and reporting that the failure was the result of trying to start too many tasks.
>
> On Jan 3, 2011, at 9:16 AM, João Rasta wrote:
>
> > Hi,
> >
> > I'm using RTEMS with POSIX API and now i'm trying to setup the RTEMS network support in order to perform TCP/IP communications.
> >
> > When i do:
> >
> > rtems_bsdnet_initialize_network ()
> >
> > I get the following error, happening in rtems_bsdnet_newproc() function of rtems_glue.c.
> >
> > ----------------------------------------------------------------------
> > Can't create network daemon `ntwk': `too many'
> >
> > fatal error, exiting
> > ----------------------------------------------------------------------
> >
> > Is this a failure on rtems_task_create() because i'm using standard POSIX API? If so, is there a way to configure network support for POSIX API?
> >
> >
> > Best,
> > JM
> > _______________________________________________
> > rtems-users mailing list
> > rtems-users at rtems.org
> > http://www.rtems.org/mailman/listinfo/rtems-users
>
> --
> Eric Norum
> wenorum at lbl.gov
>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>
--
Eric Norum
wenorum at lbl.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20110103/92794bcf/attachment-0001.html>
More information about the users
mailing list