hardware_cputhreads.c 526 B

1234567891011121314151617181920212223
  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. /// \file hardware_cputhreads.c
  4. /// \brief Get the number of CPU threads or cores
  5. //
  6. // Author: Lasse Collin
  7. //
  8. // This file has been put into the public domain.
  9. // You can do whatever you want with this file.
  10. //
  11. ///////////////////////////////////////////////////////////////////////////////
  12. #include "common.h"
  13. #include "tuklib_cpucores.h"
  14. extern LZMA_API(uint32_t)
  15. lzma_cputhreads(void)
  16. {
  17. return tuklib_cpucores();
  18. }