All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] fusion and its stack limit
@ 2005-11-25  9:47 Marco Cavallini
  2005-11-25  9:53 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Cavallini @ 2005-11-25  9:47 UTC (permalink / raw)
  To: Xenomai-core

Hi,
with fusion-0.9.1 and VxWorks skin
I am testing the creation of 255 different tasks each with a different 
priority
level from 0 to 254.
I am facing to a problem creating more than 12 tasks with taskSpawn
after creating 12 tasks the program fails into thread.c
in function xnthread_init()
at call xnarch_alloc_stack()
returning -ENOMEM.

Can I increase the stack for fusion (and how) ?
TIA

Marco Cavallini
Koan s.a.s. - Bergamo - ITALIA
Embedded and Real-Time Software Engineering
www.koansoftware.com    |    www.klinux.org



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-core] fusion and its stack limit
  2005-11-25  9:47 [Xenomai-core] fusion and its stack limit Marco Cavallini
@ 2005-11-25  9:53 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2005-11-25  9:53 UTC (permalink / raw)
  To: Marco Cavallini; +Cc: Xenomai-core

Marco Cavallini wrote:
> Hi,
> with fusion-0.9.1 and VxWorks skin
> I am testing the creation of 255 different tasks each with a different 
> priority
> level from 0 to 254.
> I am facing to a problem creating more than 12 tasks with taskSpawn
> after creating 12 tasks the program fails into thread.c
> in function xnthread_init()
> at call xnarch_alloc_stack()
> returning -ENOMEM.
> 
> Can I increase the stack for fusion (and how) ?

There is not enough space in your system heap. Try raising 
CONFIG_XENO_OPT_SYS_HEAPSZ in the nucleus config menu.

> TIA
> 
> Marco Cavallini
> Koan s.a.s. - Bergamo - ITALIA
> Embedded and Real-Time Software Engineering
> www.koansoftware.com    |    www.klinux.org
> 
> 
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core
> 


-- 

Philippe.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-25  9:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-25  9:47 [Xenomai-core] fusion and its stack limit Marco Cavallini
2005-11-25  9:53 ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.