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