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