Skip to content
Commit 45adad8a authored by ntome's avatar ntome 💬 Committed by Romain Bignon
Browse files

Browser: use a lock to prevent race condition when saving responses

Browser.responses_count is not modified atomically as if there were only
one thread, but the AsyncLoad filter will use multiple threads and
access it concurrently. As a result, multiple responses were written to
the same file.
Add a lock to prevent concurrency on the responses_count field.
parent 75d5aa45
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment