Skip to content

Instantly share code, notes, and snippets.

@cogumbreiro
Forked from fcmartins/gist:5553967
Last active December 17, 2015 04:58
Show Gist options
  • Save cogumbreiro/5553979 to your computer and use it in GitHub Desktop.
Save cogumbreiro/5553979 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