Can runtime support (RTS) functions be called when using DSP/BIOS?
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