Introduction   Client Library API Reference   Demo1   Demo2   Demo3   File List   Index  

Demo2 for events

A demo for sending some events between three tasks

There are three tasks:

and there is the following scenario:

  1. task1 registers for eventtyp 11 and tries to receive an event with a short timeout. this fails (of course).
  2. task3 registers for eventtyp 11 and waits for an event.
  3. task2 sends an event.
  4. task3 receives the event successful.
  5. task1 tries after some time again to receive an event with success.

Source in demo2/main.c


Events Reference Manual, written by Torsten Frenzel  © 2003