Static thread is now able to access class member variables by passing a pointer