Skip to content

Instantly share code, notes, and snippets.

View RuedigerMoeller's full-sized avatar
💭
I may be slow to respond.

moru0011 RuedigerMoeller

💭
I may be slow to respond.
View GitHub Profile
@RuedigerMoeller
RuedigerMoeller / gist:8272966
Last active January 2, 2016 07:58
akka pi sample in java
public class Pi {
static volatile CountDownLatch latch;
static long timSum = 0;
public static void main(String[] args) throws InterruptedException {
Pi pi = new Pi();
int numStepsPerComp = 1000;
int numJobs = 100000;
final int MAX_ACT = 16;