Attempted to add a multithreading class

Attempted to add a multithreading class, it does not work