Biblioteca Java - Rev 25
Subversion Repositories:
public class Main
{
private static final int noOfThreads =
4;
private static final int processorLoad =
1000000;
public static void main
(String args
[]) {
Window win =
new Window(noOfThreads
);
for (int i =
0; i
< noOfThreads
; i++
) {
Fir f =
new Fir
(i, i +
2, processorLoad
);
f.
addObserver(win
);
}
}
}