Skip to content

Commit

Permalink
Rename mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelCourtney committed Sep 12, 2024
1 parent 498d8c3 commit bfdb0f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ data class Violations(private val timeline: Timeline<Violation, Violations>):
*
* If either object is an activity, it will record the directive or instance id.
*/
@JvmStatic fun <V: IntervalLike<V>, W: IntervalLike<W>> mutex(left: GeneralOps<V, *>, right: GeneralOps<W, *>) =
@JvmStatic fun <V: IntervalLike<V>, W: IntervalLike<W>> whenSimultaneous(left: GeneralOps<V, *>, right: GeneralOps<W, *>) =
left.unsafeMap2(::Violations, right) { l, r, i -> Violation(
i,
null,
Expand Down

0 comments on commit bfdb0f5

Please sign in to comment.