Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Fixed: UTLT_LogPrint() is not thread safe. #43

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

shugo-h
Copy link
Contributor

@shugo-h shugo-h commented Nov 16, 2021

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().

To make UTLT_LogPrint() thread safe, pthread mutex lock is used.

@shugo-h shugo-h changed the title Fixed: UTLT_LogPrint() is not thread safe. (#69) Fixed: UTLT_LogPrint() is not thread safe. Nov 16, 2021
@shugo-h shugo-h marked this pull request as ready for review November 16, 2021 06:16
@free5gc-org free5gc-org merged commit 258c2a6 into free5gc:main Nov 30, 2021
@shugo-h shugo-h deleted the bugfix/logprint-thread-unsafe branch November 30, 2021 04:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants