You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you explain to me the use case a bit more. In what use case would it be okay to simultaneously write to the zip file as another process? Is it another zip file program has opened the zip?
In our case it's two different threads in the same process.
We record one or more streams of data. When the user decides to save the project we create an info file with some metadata and zip that together with the data streams into a single project file. We would like to be able to do this while data is still being recorded.
This used to work in the 1.1 version of minizip. And it works on Linux in 2.5.3 that we are currently using. I assume it works on mac too, but haven't tested. But not on Windows due to the READ share mode.
Activity
nmoinvaz commentedon Oct 31, 2018
Can you explain to me the use case a bit more. In what use case would it be okay to simultaneously write to the zip file as another process? Is it another zip file program has opened the zip?
chrfle commentedon Oct 31, 2018
In our case it's two different threads in the same process.
We record one or more streams of data. When the user decides to save the project we create an info file with some metadata and zip that together with the data streams into a single project file. We would like to be able to do this while data is still being recorded.
This used to work in the 1.1 version of minizip. And it works on Linux in 2.5.3 that we are currently using. I assume it works on mac too, but haven't tested. But not on Windows due to the READ share mode.
Added write sharing to win32 stream. #332
nmoinvaz commentedon Oct 31, 2018
I have made the commit in the dev branch. Thanks.
chrfle commentedon Nov 1, 2018
Great, any estimate for when it will hit a "stable" (read tagged) release? Our software security department are iffy about using dev branches ^_^
nmoinvaz commentedon Nov 1, 2018
Probably sometime later this week.