[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Date: Thu, 11 Nov 2004 09:22:16 +0800
- From: ianc at microsol.iinet.net.au (Ian Caddy)
- Subject: rtems_message_queue_receive
rtems_message_queue_send is allowed from conforming interrupts. In
other words interrupts that use rtems_interrupt_catch to establish them.
It is also important to note that any lower priority interrupt than the
one where you are calling RTEMS functions must also be conforming
When you say hangs, do you mean the processor stops (I think from memory
you are using a Coldfire?) you should be able to put a BDM onto your
system with gdb and run it normally until it stops. Then get control
back in gdb and it should indicate where the more than likely bus error
is, to see if you can narrow down your problem.
I hope this helps,
Steve Holle wrote:
> I have what is probably a basic question about
> rtems_message_queue_receive. If I am using rtems_message_queue_receive
> with the RTEMS_WAIT attribute set in a server thread, can I fill the
> thread using rtems_message_queue_send in an interrupt? It seems almost
> as if the rtems_message_queue_send is being blocked by the
> rtems_message_queue_receive and my code hangs in the interrupt.
> On the other hand, I may be doing something really stupid ;-}
> Steve Holle
> Link Communications, Inc.
> 1035 Cerise Rd.
> Billings, MT 59101
> sholle at link-comm.com