carstenbauer / ThreadPinning.jl

Readily pin Julia threads to CPU-threads
https://carstenbauer.github.io/ThreadPinning.jl/
MIT License
106 stars 7 forks source link

Hanging core-to-core latency measurement #74

Closed carstenbauer closed 1 year ago

carstenbauer commented 1 year ago

Try yield() or GC.safepoint() to fix this. See https://discourse.julialang.org/t/multithreaded-program-hangs-without-explict-gc-gc/99452/4 for a related discussion.