Hello everyone,
my application creates and deletes some message queues like the following (pseudo-code):
for (i = 0; i < max_queues; i++)
{
rt_queue_create(&(queues[i]), queue_name+i, 15kb, etc);
}
// sleep for a few seconds
for (i = 0; i < max_queues; i++)
{
rt_queue_delete(&(queues[i]));
}
The strange thing is that everything goes fine, except for the deletion of the very last queue. It doesn't matter how many queues I try, every time only the last one doesn't get deleted.
This seems a bit strange to me, does anyone has experience with this 'problem'?
Ok now. I have found the problem. It was the old 'out of range' programming mistake. It didn't came to my mind earlier because creation of the queue goes alright. Ah well, another 'problem' solved.
Thanks anyway :D
Best regards,
Frits
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
