Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove pthread_mutex API usage from TDNF. #502

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

sshedi
Copy link
Contributor

@sshedi sshedi commented Oct 10, 2024

As a single-threaded application, mutexes are unnecessary.

As a single-threaded application, mutexes are unnecessary.

Signed-off-by: Shreenidhi Shedi <shreenidhi.shedi@broadcom.com>
@oliverkurth
Copy link
Contributor

Looks good to me. Why was that there in the first place?

@sshedi
Copy link
Contributor Author

sshedi commented Oct 11, 2024

No idea. Totally unnecessary.

@oliverkurth
Copy link
Contributor

oliverkurth commented Oct 11, 2024

It's very old, from 2016. It may have made sense if this code was used as a library by a 3rd party application (like old pmd), but we don't have that.

@oliverkurth oliverkurth merged commit 74529aa into vmware:dev Oct 11, 2024
3 checks passed
@sshedi sshedi deleted the pthread-usage-removal branch October 12, 2024 04:44
@oliverkurth oliverkurth mentioned this pull request Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants