Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can runtime support (RTS) functions be called when using DSP/BIOS?

0
Posted

Can runtime support (RTS) functions be called when using DSP/BIOS?

0

Many runtime support (RTS) functions use lock and unlock functions to prevent reentrancy. DSP/BIOS use the LCK_pend and LCK_post APIs to protect itself against reentrancy. However, DSP/BIOS SWI and HWI threads cannot call LCK_pend and LCK_post. As a result, RTS functions that call LCK_pend or LCK_post must only be used outside the context of SWI and HWI threads. To determine whether a particular RTS function uses LCK_pend or LCK_post, refer to the source code for that function shipped with CCStudio. The following list shows the most common RTS functions that call LCK_pend and LCK_post in CCStudio. fprintf, printf, vfprintf, sprintf, vprintf, vsprintf, clock, strftime, minit, malloc, realloc, free, calloc, memalign, memmap, rand, srand, getenv, exit, atexit, tabinit, add_device, remove_device, open, read, write, lseek, close, unlink, rename, HOSTopen, HOSTclose, HOSTread, HOSTwrite, HOSTlseek, HOSTunlink, HOSTrename, HOSTtime, HOSTclock. Another important thing to note regardless of whe

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.