@Override
        public void run() {
            for (int i = 0; i < 5; ++i) {
                l.add(String.valueOf(i));
            }
            sharedLock.put(Boolean.TRUE);
            for (int i = 5; i < 100 * 1000; ++i) {
                l.add(String.valueOf(i));
            }
        }
Check we keep the consistent view when reading and writing in parallell.

@author Steinar Knutsen
vespajlib/src/test/java/com/yahoo/concurrent/ThreadRobustListTestCase.java