All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] posix skin pthread_create issue
@ 2012-09-12  8:19 Pierre.QUELIN
  2012-09-12  8:29 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 7+ messages in thread
From: Pierre.QUELIN @ 2012-09-12  8:19 UTC (permalink / raw)
  To: xenomai

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=US-ASCII, Size: 2306 bytes --]


Dear all,

I have an application that is working fine with the standard Linux kernel
API and don't works if I build it with Xenomai API.

I have a strange issue. At the begining, the application creates 28 threads
and all the 33 next returns an error. pthread_create() returns 12 (ENOMEM).

I'm not sure to understand which memory is missing.

To solve this I have try :

1) to fix the pthread stack size at PTHREAD_STACK_MIN.
=>without effect

2) to change the RealTime sub-system options
I increase the number of registry slots from 512 to 1024
I increase the size of the system heap from 256 to 1024
I increase the size of the private stack pool from 128 to 512
=>without effect

Could you please help me.

Best regards

Pierre Quelin
Ce message et toutes les pièces jointes (ci-après le "Message") sont confidentiels et établis à l'intention exclusive de leurs destinataires. Si vous avez reçu le Message par erreur, merci de l'indiquer à son expéditeur par retour et de procéder à sa destruction dans vos systèmes.Toute utilisation ou diffusion de son contenu non autorisée est strictement interdite. Tout message électronique est susceptible d'altération. SOLYSTIC décline toute responsabilité au titre du Message s'il a été altéré, déformé ou falsifié. SOLYSTIC ne saurait être tenue pour responsable, ni de la transmission erronée ou incomplète des informations contenues dans ce message, ni des délais de réception ou des dommages causés à votre système. SOLYSTIC ne garantit, ni que l'intégrité de la communication ait été maintenue, ni que cette transmission est exempte de virus, d'interceptions ou d'interférences.

This message and any attachments (the "Message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination of the Message is strictly prohibited. E-mails are susceptible to alteration. SOLYSTIC shall not be liable for the Message if altered, changed or falsified. SOLYSTIC shall not be liable for the improper or incomplete transmission of the information contained in the Message nor for any delay in its receipt or damage to your system. SOLYSTIC does neither guarantee that the integrity of the Message has been maintained, nor that this communication is free of viruses, interceptions or interferences.

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

end of thread, other threads:[~2012-09-17 21:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <5050E1F2.8090702@free.fr>
2012-09-12 20:27 ` [Xenomai] posix skin pthread_create issue Gilles Chanteperdrix
     [not found]   ` <50521433.9060807@free.fr>
2012-09-13 18:40     ` Gilles Chanteperdrix
     [not found]       ` <50577AB4.6050006@free.fr>
2012-09-17 19:50         ` Gilles Chanteperdrix
     [not found]           ` <50578C29.8030104@free.fr>
2012-09-17 21:02             ` Gilles Chanteperdrix
2012-09-17 21:07               ` Gilles Chanteperdrix
2012-09-12  8:19 Pierre.QUELIN
2012-09-12  8:29 ` Gilles Chanteperdrix

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.