Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/silly-init-bug'
Browse files Browse the repository at this point in the history
  • Loading branch information
shwestrick committed Jun 24, 2022
2 parents 7d0198e + e0c3efb commit 6c13f5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions basis-library/schedulers/shh/Scheduler.sml
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ struct
if HH.getDepth originalThread = 0 then ()
else die (fn _ => "scheduler bug: root depth <> 0")
val _ = HH.setDepth (originalThread, 1)
val _ = HH.forceLeftHeap (myWorkerId (), originalThread)

(* implicitly attaches worker child heaps *)
val _ = MLton.Parallel.initializeProcessors ()
Expand Down

0 comments on commit 6c13f5c

Please sign in to comment.