otp icon indicating copy to clipboard operation
otp copied to clipboard

Try fix race in erlang:halt

Open sverker opened this issue 1 year ago • 1 comments

If two or more processes calls halt it seems the yielded dummy call halt(undefined,undefined) can actually happen.

Suspend the calling process to make sure it does get scheduled again.

sverker avatar Jul 03 '24 14:07 sverker

CT Test Results

    3 files    143 suites   48m 36s ⏱️ 1 599 tests 1 550 ✅ 49 💤 0 ❌ 2 343 runs  2 269 ✅ 74 💤 0 ❌

Results for commit 12c312fd.

:recycle: This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

github-actions[bot] avatar Jul 03 '24 14:07 github-actions[bot]

@jhogberg Could it be this simple or am I missing something?

sverker avatar Jul 11 '24 17:07 sverker