The printf is not muti-task safe. Please see the code of _io_printf, please notice that no any sync method(sem, event, etc) used within it. The call stack was listed to easy the code reading.
_io_printf -> _io_doprintf->_io_serila_poller_write.
The printf is not muti-task safe. Please see the code of _io_printf, please notice that no any sync method(sem, event, etc) used within it. The call stack was listed to easy the code reading.
_io_printf -> _io_doprintf->_io_serila_poller_write.