Skip to content

File lock#4740

Merged
aleks-f merged 4 commits intopocoproject:file-lockfrom
bas524:file-lock
Oct 16, 2024
Merged

File lock#4740
aleks-f merged 4 commits intopocoproject:file-lockfrom
bas524:file-lock

Conversation

@bas524
Copy link
Copy Markdown
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
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 <ale.bychuk@gmail.com>
Co-authored-by: bas524 <bas524@ya.ru>
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