I have 2 questions:
Is it safe to use functions *FromISR outside of interrupt routine i.e. in normal task which can be switchedin the middle of FromISR API? I need xQueueIsQueueFullFromISR but it does not have normal API.
I have this situation:
- thread 1 which is frequently blocked with xQueueSelectFromSet;
- thread 2 adds data in a queue with xQueueSend( …, portMAX_DELAY );
- the queue is joined to queue set above;
Is there a chance to get dead lock if thread 1 is blocked, the corresponding queue is full and xQueueSend hang without unblocking thread 1? In other words - when the queue is full and thread blocked for some reason, will the xQueueSend unblock the thread and continue waiting for empty element in queue?