@wrap_exceptions
    def get_process_num_threads(self):
        return _psutil_osx.get_process_num_threads(self.pid)
Return the number of threads belonging to the process.
dataset/ETHPy150Open packages/psutil/psutil/_psosx.py/Process.get_process_num_threads