# | Line 8 | Line 8 | |
---|---|---|
8 | // adapted from bug reports | |
9 | ||
10 | import java.util.*; | |
11 | – | import java.lang.*; |
11 | import java.util.concurrent.*; | |
12 | import java.util.concurrent.locks.*; | |
13 | ||
# | Line 86 | Line 85 | class Producer extends Thread | |
85 | } | |
86 | } | |
87 | ||
89 | – | |
88 | public class RLJBar // ProdConsTest | |
89 | { | |
90 | ||
# | Line 159 | Line 157 | public class RLJBar | |
157 | System.out.println("Outer time: " + (System.currentTimeMillis()-cyBase)); | |
158 | ||
159 | // Let workers quiesce/exit. | |
160 | < | try { Thread.sleep (1000); } catch (Exception ex) {}; |
160 | > | try { Thread.sleep (1000); } catch (Exception ex) {} |
161 | } | |
162 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |