Narrow the scope of the exclusive lock.
The update check works on copies of the info struct, flags, etc. Only take the write lock when all work is finished, then copy data back under the lock.
Showing
Please register or sign in to comment