You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
526 B
23 lines
526 B
10 years ago
|
///////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
6 years ago
|
/// \file hardware_cputhreads.c
|
||
|
/// \brief Get the number of CPU threads or cores
|
||
10 years ago
|
//
|
||
|
// Author: Lasse Collin
|
||
|
//
|
||
|
// This file has been put into the public domain.
|
||
|
// You can do whatever you want with this file.
|
||
|
//
|
||
|
///////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
#include "common.h"
|
||
|
|
||
6 years ago
|
#include "tuklib_cpucores.h"
|
||
10 years ago
|
|
||
|
|
||
6 years ago
|
extern LZMA_API(uint32_t)
|
||
|
lzma_cputhreads(void)
|
||
|
{
|
||
|
return tuklib_cpucores();
|
||
|
}
|