M. Koehrer wrote:
> Hi Jan, hi everybody,
>
> I have stripped down my program that is crashing Xenomai even further.
> (I have attached the complete source code).
> No rtnet is required.
> Now I have the following real time task:
>
> static void realtimetask(void *arg)
> {
> system("ls -l");
> rt_task_sleep(1000000000ULL);
> printf("rt_task_sleep done...\n");
> }
Does this code freeze your box as well:
#include <native/task.h>
#include <sys/mman.h>
main()
{
RT_TASK task;
mlockall(MCL_CURRENT|MCL_FUTURE);
rt_task_shadow(&task, "crash", 1, 0);
rt_task_sleep(1000000000ULL);
system("ls -l");
rt_task_sleep(1000000000ULL);
printf("rt_task_sleep done...\n");
}
Or what is different with your test case? I got hold of P4 2.8 GHz
meanwhile, but the box still prefers to run the code without troubles.
Jan
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
