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
If you attempt to read from a UZKArchive instance while another UZKArchive instance is writing to the same underlying file in a different thread, exceptions are thrown. The @synchronized lock in -performActionWithArchiveOpen:inMode:error: is apparently not sufficient in this case, working only within a single instance of the archive.
The text was updated successfully, but these errors were encountered:
abbeycode
changed the title
Multiple instances of UZKArchive lose thread safety
Multiple instances of UZKArchive for same file lose thread safety
Feb 27, 2020
If you attempt to read from a
UZKArchive
instance while anotherUZKArchive
instance is writing to the same underlying file in a different thread, exceptions are thrown. The@synchronized
lock in-performActionWithArchiveOpen:inMode:error:
is apparently not sufficient in this case, working only within a single instance of the archive.The text was updated successfully, but these errors were encountered: