message_queue_create hangs the system

Victor Silva vid_4000 at yahoo.com
Sat Sep 21 01:41:48 UTC 2002


I have the following code, in a hello world program:
 
      rtems_id   queue_id;
      rtems_name queue_name;
 
      queue_name = rtems_build_name( 'Q', '0', '0',
'1');
      printk( "build name\n");
 
      rtems_message_queue_create( queue_name, 4, 10,
RTEMS_FIFO |
 RTEMS_LOCAL,
  &queue_id );
      printk( "queue create\n");
 
  My system hangs with the call to
rtems_message_queue_create.
 
  I'm using RTEMS 4.5.0 with the pc386 bsp.
  I have also defined:
  #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES            
 20
 
  What I'm missing?
 
  Sorry for this newbie question.
  Thanks in advance !


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com



More information about the users mailing list