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

File lock #4740

Merged
merged 4 commits into from
Oct 16, 2024
Merged

File lock #4740

merged 4 commits into from
Oct 16, 2024

Conversation

bas524
Copy link
Contributor

@bas524 bas524 commented Oct 16, 2024

I resolved all outstanding issues, except FileStream modificaton (windows)
I think, that it should be a separate PR

@bas524 bas524 mentioned this pull request Oct 16, 2024
@aleks-f aleks-f merged commit 58e39ef into pocoproject:file-lock Oct 16, 2024
34 checks passed
aleks-f added a commit that referenced this pull request Oct 16, 2024
* add RWLock implementation for file [posix]

* add implementation FileStreamRWLock for windows
replace FileStreamRWLock to the Process package

* add files FileStreamRWLock* into makefile and vcproj

* remove unnecessary file from makefile

* use absolute path to the TesApp with ProcessRunner

* fix vc*.proj

* add new test files into vc.proj.filters

* fix comments

* fix spelling fo PR #4723
add atomic_bool _locked and check if FileStreamRWLock is locked on
destruction for force unlock

* add atomic header

* File lock (#4740)

* throw error on any errno not only on EDEADLK

* fix function naming

* fix windows build

* fix windows build

---------

Co-authored-by: Alexander B <[email protected]>
Co-authored-by: bas524 <[email protected]>
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