Skip to content

Commit

Permalink
Add a release note for the RLock
Browse files Browse the repository at this point in the history
We should document this in release notes for the release as if there is
a problem with the release it's most likely to come from this.
  • Loading branch information
jamielennox committed Aug 30, 2022
1 parent 792aea7 commit c19c334
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions releasenotes/notes/RLock-around-send-8adf0487b887f378.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
fixes:
- |
In some multithreading situations the mocker might try and replace an
already patched object from a different thread. To make this thread safe we
will put a lock around the mocker so that only one thread can work with the
mocker at any time. This has to be a reentrant lock as the same thread can
go through it multiple times.

0 comments on commit c19c334

Please sign in to comment.