Skip to content

Commit

Permalink
Magic
Browse files Browse the repository at this point in the history
  • Loading branch information
polytypic committed Feb 7, 2025
1 parent f11116e commit c92568b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/picos_aux.mpmcq/picos_aux_mpmcq.ml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ let rec pop_exn t backoff =
if head.counter + 1 = next.counter then
if Atomic.compare_and_set t.head head next then begin
let value = next.value in
next.value <- Obj.magic ();
(Obj.magic next : int node).value <- Obj.magic ();
value
end
else pop_exn t (Backoff.once backoff)
Expand Down

0 comments on commit c92568b

Please sign in to comment.