Hi,
Reviewing System module implementation I noticed that System_printf() does not enter the System gate and calls system support proxy putch() method which is implemented in SysStd as a direct call to the RTS's putchar() function. In rts6000 putchar() calls fputc() which does not use _lock() and, as I understand it, is not thread-safe by design.
Have I missed something?
Cheers,
Dmitry
XDC 3.23.04.60/3.24.07.73
rts6000 from CCS 5.0/5.2 (I haven't looked at ccs5.4 yet)