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

Handle lockfile functions for mutual exclusion #1155

Open
sim642 opened this issue Sep 11, 2023 · 0 comments
Open

Handle lockfile functions for mutual exclusion #1155

sim642 opened this issue Sep 11, 2023 · 0 comments

Comments

@sim642
Copy link
Member

sim642 commented Sep 11, 2023

Related to a couple of *_unlocked functions from the list, turns out there are flockfile, ftrylockfile and funlockfile, which treat a FILE as a mutex. No idea, if anyone uses them, but I guess it wouldn't hurt to also consider those for mutual exclusion.

Originally posted by @sim642 in #723 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant