Stream buffer and task notification

unknowcoder wrote on Wednesday, April 11, 2018:


Can I use task notification when stream buffer are being used by the same task?
I notice in the stream buffer there code like the one shown below. If this is the case this will complete remove all the bits set.

I am asking because I am running is problems where one my task is missing events and it’s because the task notification bits are cleared before I get a chance to read it.

xTaskNotifyWait( ( uint32_t ) 0, UINT32_MAX, NULL, xTicksToWait );??