# xQueueSendToBack from two different tasks

**URL:** <https://forums.freertos.org/t/xqueuesendtoback-from-two-different-tasks/2519>\
**Category:** Kernel\
**Created:** [January 6, 2008, 10:14pm UTC](https://forums.freertos.org/t/xqueuesendtoback-from-two-different-tasks/2519 "2008-01-06T22:14:01Z")\
**Posts on this page:** 2\
**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:** [January 6, 2008, 10:14pm UTC](https://forums.freertos.org/t/xqueuesendtoback-from-two-different-tasks/2519/1 "2008-01-06T22:14:01Z")

</div>

**[not\_used\_name](https://sourceforge.net/u/not_used_name/)** wrote on [Sunday, January 06, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/6fb72841/#7c76):

Didn’t find anything about this when searching the forum.

If I have two different tasks submitting messages to the same queue, do I have to use mutexes to protect the adding of data or is that done within the function?

Thx,

Dre

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [January 7, 2008, 8:14am UTC](https://forums.freertos.org/t/xqueuesendtoback-from-two-different-tasks/2519/2 "2008-01-07T08:14:56Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Monday, January 07, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/6fb72841/#7c76/6025):

No mutexes required - all the mutual exclusion is handled within the queue itself.

Regards.
