Closed gra-m closed 2 years ago
Alternate, but Runnable does not name thread, currentThread().getName() == main.
```
Runnable searchTest2 = ()-> { while(true) { performSearchTest(); try { Thread.sleep(500); } catch (InterruptedException e) { throw new RuntimeException(e); } } }; searchTest2.run();
to