anonymous wrote on Sunday, September 02, 2012:
Quote from API reference:
API functions that have the potential to cause a context switch (for example, vTaskDelayUntil(), xQueueSend(), etc.) must not be called while the scheduler is suspended.
Is it strictly prohibited or just warning that most of them will cause unexpected behavior (task will block itself). I examined freertos sources and it seems to me that it is allowed, but I’m not sure… Is it allowed to perform non-blocking freertos calls (such as xSemaphoreGive()) while sheduler is suspended ?