Details
Description
The memory channel isn't thread safe as a couple of parallel transactions can commit/rollback each others entries if called in the wrong order.
I'm attaching a unit test I made that demonstrates it using a cyclicbarrier to force the event order that causes the precondition to fail.