Show how to share data between threads using a method and field.