1. Create a POSIX based message queue under VxWorks for communicating between two tasks as per the requirements given below (a) Use a named message queue with name “MyQueue” (b) Create two tasks...


1. Create a POSIX based message queue under VxWorks for communicating between two tasks as per the requirements given below (a) Use a named message queue with name “MyQueue” (b) Create two tasks (Task1 and Task2) with stack size 4000 and priorities 99 and 100 respectively (c) Task1 creates the specifi ed message queue as Read Write and reads the message present, if any, from the message queue and prints it on the console (d) Task2 opens the message queue and posts the message “Hi From Task2” (e) Handle all possible error scenarios appropriately


2. Re-write the message queue example given under the Inter Task Communication section of VxWorks for posting the message as a high priority message



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here