Helper method to clean up the syntax of starting a BTreeWriter thread. The parameters pass through to the BTreeWriter constructor.
(TransactionId tid, int item, int count)
| 87 | * The parameters pass through to the BTreeWriter constructor. |
| 88 | */ |
| 89 | public BTreeUtility.BTreeWriter startWriter(TransactionId tid, |
| 90 | int item, int count) { |
| 91 | |
| 92 | BTreeWriter bw = new BTreeWriter(tid, bf, item, count); |
| 93 | bw.start(); |
| 94 | return bw; |
| 95 | } |
| 96 | |
| 97 | /** |
| 98 | * Not-so-unit test to construct a deadlock situation. |
no test coverage detected