This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Queue Configuration

Hi!

 I am using  SYS/BIOS v6.33 with Concerto F28M35x experiment kit.  I found in all the examples on the configuration of the queues used only  NULL parameters " Queue_create(NULL, NULL); ". Please show how to create a queue with non-zero parameters.

Best regards,

Gnusmas 

  • Gnusmas,

    Passing only NULL parameters to Queue_create() is the typical usage.  

    I didn’t find any examples to point you too, but made one to demonstrate.  Here is a snippet:

        Queue_Params queueParams;
        Queue_Handle queue1;
        Error_Block eb;

        Error_init(&eb);
        Queue_Params_init(&queueParams);
        queueParams.instance->name = "myQueue";
        queue1 = Queue_create (&queueParams, &eb);

        if (Error_check(&eb)) {
            System_printf("Queue_create() failure!\n");
            BIOS_exit(0);
        }

    Scott