Closed shugo-h closed 2 years ago
UTLT_LogPrint() is not thread safe. Therefore, the log message buffer is possible to be overwritten by another thread while a thread is running UTLT_LogPrint().
UTLT_LogPrint()
To make UTLT_LogPrint() thread safe, pthread mutex lock is used.
UTLT_LogPrint()
is not thread safe. Therefore, the log message buffer is possible to be overwritten by another thread while a thread is runningUTLT_LogPrint()
.To make
UTLT_LogPrint()
thread safe, pthread mutex lock is used.