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.

NameServer_get in GateMP

Other Parts Discussed in Thread: SYSBIOS, TMS320C6678

Hello,

I have a dummy question. I use NameServer in my own app and need to make execution of some function a thread safe. I call GateMP_enter for that call NameServer_get in the protect section  and get abort with the following error:

ti.sysbios.knl.Semaphore: line 214: assertion failure: A_pendTaskDisabled: Cannot call Semaphore_pend() while the Task or Swi scheduler is disabled.
xdc.runtime.Error.raise: terminating execution

Can I use in the protect section (between GateMP_enter and GateMP_leave) other IPC functions? For example can I use NameServer_get there?