On 06/03/07, Saiful Khan <[EMAIL PROTECTED]> wrote:
Hello,
First of all thank you a lot. For the last several days I am getting lots of
help from you. As well as I achived some positive results also. By the way
my observation now is -
mlockall is successfull
pthread_attr_init() - is successfull
pthread_attr_setdetachstate() - successfull
Here I am getting the message "Xenomai - process memory not locked (missing
mlockall?) " and its stuck.
Do I understand ("stuck") right that the following pthread_create() is
never executed?
pthread_create() - this is returning nothing not success(0) nor failure.
Could you insert additional debugging lines in your code as shown
below and let us know of the outcome?
// btw does "attr" in your case allocated on stack?
pthread_attr_init(&attr);
printf("step 1\n");
memset(&attr, 0, sizeof(pthread_attr_t)); // <--- touch the "attr" here
printf("step 2\n")
pthread_attr_setdetachstate(&attr, ...);
printf("step 3\n");
pthread_create(.., &attr, ...);
So what's the last "step" printed?
--
Best regards,
Dmitry Adamushko
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help