Help: rtems_message_queue_create() fails
Smith, Gene
Gene.Smith at sea.siemens.com
Fri Aug 18 13:03:10 UTC 2000
I had the same problem. You have to
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES XXX
before
#include <confdefs.h>
-Gene
> -----Original Message-----
> From: Efren Serra [mailto:efren.serra at eng.sun.com]
> Sent: Thursday, August 17, 2000 8:44 PM
> To: rtems-users at oarcorp.com
> Subject: Help: rtems_message_queue_create() fails
>
>
> Hello folks,
>
> When trying to create a queue with the above RTEMS directive a get a
> `too many' return status, which has
> to be `too many global objects' since this happens when I try
> to create
> the first queue. I have set the following
> RTEMS constants to these values:
>
> CONFIGURE_EXECUTIVE_RAM_SIZE (32*1024*1024)
> CONFIGURE_INIT_TASK_SIZE (512*1024)
>
> Also, I call the directive with the following parameters:
>
> status = rtems_message_queue_create(
> rtems_build_name('A', 'Q', 'U', 'E'),
> 32,
> 4,
> RTEMS_DEFAULT_ATTRIBUTES,
> &a_queue);
>
> Thanks,
> -efren-
>
More information about the users
mailing list