Skip to content

Instantly share code, notes, and snippets.

@cogumbreiro
Created May 10, 2013 11:49
Show Gist options
  • Save cogumbreiro/5553931 to your computer and use it in GitHub Desktop.
Save cogumbreiro/5553931 to your computer and use it in GitHub Desktop.
public class Fin1 {
public static def main(s:Array[String](1)) {
val f = Clock.make();
val c = Clock.make();
async clocked(c, f) {
Clock.advanceAll(); // deadlocks here
}
f.advance();
}
}
@cogumbreiro
Copy link
Author

This is not Scala.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment