Skip to content

Instantly share code, notes, and snippets.

@fcmartins
Forked from cogumbreiro/gist:5553931
Created May 10, 2013 11:57
Show Gist options
  • Save fcmartins/5553967 to your computer and use it in GitHub Desktop.
Save fcmartins/5553967 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();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment