You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
letmovet~infosrcdst=S.with_tree t ~info[] (funtree ->
S.Tree.find_tree tree src >>=funv ->
S.Tree.remove tree src >>=funtree ->
S.Tree.add_tree tree dst v
)
Byt default with_tree will use the Test_and_set strategy, e.g. this will ensure that the move is done atomically. It is possible to define a more fined-grained scope for the transaction by using the longest common prefix between src and dst instead of [] to avoid live-locks.
No description provided.
The text was updated successfully, but these errors were encountered: