Solved! Go to Solution.
You create message pool in order to have "shared common memory" to which you send messages and read messages from.
You can imagine message queue as a mailbox. A task can send messages to any mailbox (queue), but if you want to read from a queue, you have to open it.
So: you have to open queue in the task, which should read those messages (place breakpoint on the CGI request handler and you can see in which task's context you are). You create pools independetly on queues: e.g. at init of main task.
Messages cannot be read in the interrupt service routines.
You create message pool in order to have "shared common memory" to which you send messages and read messages from.
You can imagine message queue as a mailbox. A task can send messages to any mailbox (queue), but if you want to read from a queue, you have to open it.
So: you have to open queue in the task, which should read those messages (place breakpoint on the CGI request handler and you can see in which task's context you are). You create pools independetly on queues: e.g. at init of main task.
Messages cannot be read in the interrupt service routines.