Documentation: thread safety clarification
feedback
On https://libzip.org/documentation/libzip.html under "thread safety", it's currently written:
> different zip archives opened by libzip are independent of each other and can be used by parallel-running threads without locking.
Can you please clarify what you mean by "zip archives" here? Do you mean an archive on disk, or do you mean `zip_t` objects?
In particular, is it allowed to open the same `foo.zip` on disk concurrently without locking, if I make sure to open a separate `zip_t` to `foo.zip` on each thread (one separate `zip_t` opened on each thread)?
关闭于 2025-09-23 3 条评论