All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] process memory not locked
@ 2007-03-06 17:49 Saiful Khan
  2007-03-06 17:56 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 7+ messages in thread
From: Saiful Khan @ 2007-03-06 17:49 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 793 bytes --]

Hello,

I have ported my normal GNU/Linux (Posix) application in Xenomai, and I have
used Xenomai POSIX skin to do the same. In my application main() function is
spawning a thread using
pthread_attr_init()
pthread_attr_setdetachstate()
pthread_create()

But as soon as it spawn the thread the following message comes
*Xenomai*: process *memory not locked* (missing mlockall?), and I do not get
any message from that thread.

I have already  locked the paging  in main() as well as in the spawned
thread using  mlockall(MCL_CURRENT | MCL_FUTURE). After google search I
didnt found any solution to solve my problem.

1. Please tell me the reason? Is there anything I am doing wrong while
spawning thread?
2. What to do so that the thread also run in highest priority?

Thanks and regards
Saiful

[-- Attachment #2: Type: text/html, Size: 1043 bytes --]

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

end of thread, other threads:[~2007-03-11 18:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-06 17:49 [Xenomai-help] process memory not locked Saiful Khan
2007-03-06 17:56 ` Gilles Chanteperdrix
2007-03-06 18:04   ` Gilles Chanteperdrix
2007-03-06 18:59     ` Saiful Khan
2007-03-06 19:41       ` Gilles Chanteperdrix
     [not found]         ` <38b44d590703102107l159cda49rdf7ad7c1dc435b3@domain.hid>
2007-03-11 18:53           ` Gilles Chanteperdrix
2007-03-06 20:55       ` Dmitry Adamushko

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.