This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MEM_alloc callable from main?

According to the Callibility table, MEM_alloc is callable from main. However, when I read the function description, it mentions the use of LCK_pend inside the function, which is not callable from main. So how does that work? Does MEM_alloc check to see whether it is called from a task or from main?

Thanks,

Charles