# Notify

**URL:** <https://forums.freertos.org/t/notify/3088>\
**Category:** Kernel\
**Created:** [November 29, 2004, 2:23pm UTC](https://forums.freertos.org/t/notify/3088 "2004-11-29T14:23:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [November 29, 2004, 2:23pm UTC](https://forums.freertos.org/t/notify/3088/1 "2004-11-29T14:23:45Z")

</div>

**[teunvandeberg](https://sourceforge.net/u/teunvandeberg/)** wrote on [Monday, November 29, 2004](https://sourceforge.net/p/freertos/discussion/382005/thread/88e9b212/#8b82):

I have different task running under FreeRTOS. These tasks kind of work together, so to control the interaction I have made another task; a controller task. The problem I now have is that this controller task needs to wait for any of the other tasks to fire an event. When any of the other tasks fires an event the controller task needs to perform some action (so it needs to know which task fired the event). When I say fire an event I mean that the task needs to give a notification to another task. Can anyone point out a nice way to do this in FreeRTOS? Thank you in advance!  
Kind Regards,  
Teun

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [November 29, 2004, 4:30pm UTC](https://forums.freertos.org/t/notify/3088/2 "2004-11-29T16:30:56Z")

</div>

**nobody** wrote on [Monday, November 29, 2004](https://sourceforge.net/p/freertos/discussion/382005/thread/88e9b212/#8b82/3fcc):

Can you use a queue?

The controller task blocks on the queue.&nbsp; When one of the other tasks ‘fires an event’ it simply posts a number on the queue that identifies the task.&nbsp; The controller task will unblock when data becomes available on the queue, read the number, and perform take any action necessary.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [December 1, 2004, 8:15am UTC](https://forums.freertos.org/t/notify/3088/3 "2004-12-01T08:15:58Z")

</div>

**[teunvandeberg](https://sourceforge.net/u/teunvandeberg/)** wrote on [Wednesday, December 01, 2004](https://sourceforge.net/p/freertos/discussion/382005/thread/88e9b212/#8b82/5680):

Thanks for the advice! I was thinking in the same direction. The only thing I miss in this approach are priorities, but I guess thats not so bad. Ill implement it like this.  
Thanks again!

Kind Regards,  
Teun
