Notes about threads