MemberCycle
The CancelCause
used when some members of the commit barrier
conflict with each other. Since the commit barrier can only succeed
if all of them commit simultaneously this would lead to a deadlock, so
the entire commit barrier is instead cancelled. This cancel cause
implies that all members were eventually cancelled.
The CancelCause
used when some members of the commit barrier
conflict with each other. Since the commit barrier can only succeed
if all of them commit simultaneously this would lead to a deadlock, so
the entire commit barrier is instead cancelled. This cancel cause
implies that all members were eventually cancelled.
debugInfo
is optional information provided by the STM implementation
to help locate the source of the avoided deadlock. If provided it
might be one of the Ref
s in the cycle, or it might be a String
describing the cycle.