Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Slide 17 Slide 18 Slide 19 Slide 20 Slide 21 Slide 22 Slide 23 Slide 24 Product List
Operating System Slide 23

MessageQs provide more functionality than the Notify module. There are some differences, such as there is no need to hard code the eventIds, the consumer core creates a MessageQ by name. The sending core calls ‘open’ to open a messageQ, if the messageQ has not been created yet, the open call will return an error. Also, MessageQ’s provide for a variable sized message. Some key points regarding MessageQ are that MessageQ is single reader but multiple writer, MessageQ can be used for communication between threads on a single core as well as between threads on multiple cores, and MessageQ can be used for inter-thread communication, it is easy to move the thread to another core (load balancing, etc.).

PTM Published on: 2012-09-05