Since an ArrayList is not thread safe, I think choosing a collection that is will be fundamental to resolving your problem due to the multiple while( true ) loops accessing the same variables from...