<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Verdana">Hi everybody!<br>
<br>
I'm having an issue while deleting a queue: the call to
rtems_message_queue_delete hangs. <br>
I have been debugging RTEMS code and I found that it gets stuck at
_Thread_Enable_dispatch() in msgqdelete.c<br>
<br>
More details:<br>
- RTEMS Version: 4.99<br>
- The task that deletes the queue is not the one that created it.<br>
- There is a task blocked waiting for the queue which has a higher
priority than the task deleting the queue.<br>
- I have also tried disabling interrupts before the deletion in
order to avoid context switching with no luck (still hangs).<br>
- There are no pending messages on the queue.<br>
- All nodes are LOCAL.<br>
<br>
You might be wondering why in the world I'm trying to delete a
queue. Well, to make a long story short, the idea behind this is
to inject errors into our application to see if it is reacting as
expected.<br>
<br>
Any help will be appreciated!<br>
<br>
Thanks in advance!<br>
<br>
Cheers,<br>
Gabriel<br>
<br>
</font>
</body>
</html>