cmake/Utilities/cmliblzma/liblzma/common/hardware_cputhreads.c

23 lines
526 B
C
Raw Normal View History

2015-04-27 22:25:09 +02:00
///////////////////////////////////////////////////////////////////////////////
//
2018-10-28 12:09:07 +01:00
/// \file hardware_cputhreads.c
/// \brief Get the number of CPU threads or cores
2015-04-27 22:25:09 +02:00
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "common.h"
2018-10-28 12:09:07 +01:00
#include "tuklib_cpucores.h"
2015-04-27 22:25:09 +02:00
2018-10-28 12:09:07 +01:00
extern LZMA_API(uint32_t)
lzma_cputhreads(void)
{
return tuklib_cpucores();
}