scala-parallel
scala-parallel copied to clipboard
Condition correctness
Shouldn't while loops on lines 18 and 29 of https://github.com/joshcough/scala-parallel/blob/master/src/main/scala/scala/util/concurrent/locks/Condition.scala have !condition instead of condition, so they end when the condition becomes true? Or am I misunderstanding something?
It certainly looks like it. Jorge and I busted this out years ago and then never touched it again, I wouldn't be surprised if it didn't work and was untested. Sorry. :(