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 Creation CC2640

I am trying to create a Queue to be shared by multiple tasks. 

I followed the example shown in SYS/BIOS (TI-RTOS Kernel) v6.45 User Guide, and it works fine as long as the Queue is created within a task.

When I try to use the same Queue handle in another task, located in another file, I get an undefined error (asking me to define the queue again). 

I also tried in the main file, but did not work too. I got same error 

Where should I create the queue so i can use it in different tasks found in different files?