0
Why this code fails even without data race
Hi I believe I do not have any data race or dead locks in code below: https://www.sololearn.com/en/compiler-playground/cYpHeSPf145u Is above statement correct? If yes, why not it complete all the output statements? If no, could you please help me understand the error? https://sololearn.com/compiler-playground/cYpHeSPf145u/?ref=app
2 Réponses
+ 3
you're sleeping 2 seconds... Sololearn is timing out.
run your simulation faster. maybe use milliseconds instead of seconds
+ 1
Thanks Bob_Li