Skip to content

Commit

Permalink
Update pnset.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
javadsaberlatibari authored Mar 15, 2024
1 parent 94ca36d commit 84b10ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wellcoordination/benchmark/pnset.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ class PNSet : public ReplicatedObject
}
void remove(std::string a)
{
bool find=false;
while(lock.load());
lock.store(true);
find=false;
Expand Down

0 comments on commit 84b10ba

Please sign in to comment.