code: func (ethash *Ethash) Threads() int {
  	ethash.lock.Lock()
  	defer ethash.lock.Unlock()
  
  	return ethash.threads
  }
docs: // Threads returns the number of mining threads currently enabled. This doesn't
  // necessarily mean that mining is running!