Open lxyscls opened 4 years ago
Hello, I am not sure that does the get op will modify the inner data. Under such situation, only lock will work, I think.
If not, can I use read-write lock? read lock to guard get op, write lock to guard set op.
Thank you.
Hello, I am not sure that does the get op will modify the inner data. Under such situation, only lock will work, I think.
If not, can I use read-write lock? read lock to guard get op, write lock to guard set op.
Thank you.