create msg queue

Andrew Klossner andrew at pogo.wv.tek.com
Mon Jun 12 20:35:50 UTC 2000


> I'm trying to create a message queue by rtems system lib, I did:
> rtems_message_queue_create( 1, 10, 20, RTEMS_FIFO, &qId);
> compiled but it returns nothing, looks like the call breaks, anyone know
> what the problem is?

What do you mean by "returns nothing"?  The function returns an
rtems_status_code.  Look at the value of that code for insight about
what went wrong.

My first guess is that you're using the default value of
CONFIGURE_MAXIMUM_MESSAGE_QUEUES, which is 0.

  -=- Andrew Klossner (andrew at teleport.com)



More information about the users mailing list