I am new to using an RTOS so please execuse my ignorance.
Why would you use a mutex instead of TaskSuspendAll for task synchronization if I don’t need to worry about sync between task and ISR? Initially I though mutex is more efficient but it seems like xSemaphore calls TaskSuspendAll anyway?
/* Interrupts and other tasks can send to and receive from the queue
now the critical section has been exited. */
prvLockQueue( pxQueue );