From: Philippe Gerum <rpm@xenomai.org>
To: Mike McTernan <mmcternan@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] pthread_cond_init() returns ENOMEM
Date: Tue, 03 Feb 2009 14:23:39 +0100 [thread overview]
Message-ID: <4988455B.3080108@domain.hid> (raw)
In-Reply-To: <4B3F8896E1733D4787DDB0EA1C7FF91F6B572E@ukmail.uk.wirelessworld.airvananet.com>
Mike McTernan wrote:
> Hi,
>
> I'm trying to port a large complex app to Xenomai using the POSIX skin,
> and so far so good!
>
> But I've found pthread_cond_init() it reporting ENOMEM to a userspace
> app. Looking back up the sources I think this maybe because
> xnheap_alloc() is exhausted in the kernel.
>
> I'm using the Xenomai VMware image from
> http://www.cs.ru.nl/lab/xenomai/, it's version 2.4.3. Do I need to
> update, or is there a way I can increase the heap?
>
You should update it at some point, since we fixed significant bugs since then.
But you don't need this to increase the heap.
> I can't see how to do it from the docs, please point me in the right
> direction.
>
Check XENO_OPT_SYS_HEAPSZ in the Xenomai nucleus menu (Kconfig).
> Kind Regards,
>
> Mike
>
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
>
--
Philippe.
prev parent reply other threads:[~2009-02-03 13:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-02 22:56 [Xenomai-help] pthread_cond_init() returns ENOMEM Mike McTernan
2009-02-03 13:23 ` Philippe Gerum [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4988455B.3080108@domain.hid \
--to=rpm@xenomai.org \
--cc=mmcternan@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.