Description: Generation task priority 50 B A, task, priority 60
Through the message queue communication between tasks
Task A segment to B transmits the string "Hello world! How are you?", each transmission of 4 bytes.
After delivery of A wait, B will receive content to return to A, A whether the comparison and sending content conform to, is to continue until the transmission completion.
Eventually B will print receiving the full string content.
In addition to print each time the task and content information.
To generate a two task A, B set an intermediate storage space for the A sent to B byte after B returned to compare!
A B task, task creation, passing through the array pass way
To Search:
File list (Check if you may need any files):
1.txt
dcMsgQ Test.c