203 |
|
try { |
204 |
|
lock.writeLock().lock(); |
205 |
|
t.start(); |
206 |
+ |
Thread.sleep(SHORT_DELAY_MS); |
207 |
|
t.interrupt(); |
208 |
+ |
Thread.sleep(SHORT_DELAY_MS); |
209 |
|
lock.writeLock().unlock(); |
210 |
|
t.join(); |
211 |
|
} catch(Exception e){ |
251 |
|
}); |
252 |
|
try { |
253 |
|
t.start(); |
254 |
+ |
Thread.sleep(SHORT_DELAY_MS); |
255 |
|
t.interrupt(); |
256 |
+ |
Thread.sleep(SHORT_DELAY_MS); |
257 |
|
lock.writeLock().unlock(); |
258 |
|
t.join(); |
259 |
|
} catch(Exception e){ |
838 |
|
}); |
839 |
|
try { |
840 |
|
t.start(); |
841 |
+ |
Thread.sleep(SHORT_DELAY_MS); |
842 |
|
t.interrupt(); |
843 |
+ |
Thread.sleep(SHORT_DELAY_MS); |
844 |
|
t.join(); |
845 |
|
lock.writeLock().unlock(); |
846 |
|
} catch(Exception e){ |
870 |
|
}); |
871 |
|
try { |
872 |
|
t.start(); |
873 |
+ |
Thread.sleep(SHORT_DELAY_MS); |
874 |
|
t.interrupt(); |
875 |
|
t.join(); |
876 |
|
lock.writeLock().unlock(); |