Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/cmliblzma/common/tuklib_cpucores.h
3153 views
1
// SPDX-License-Identifier: 0BSD
2
3
///////////////////////////////////////////////////////////////////////////////
4
//
5
/// \file tuklib_cpucores.h
6
/// \brief Get the number of CPU cores online
7
//
8
// Author: Lasse Collin
9
//
10
///////////////////////////////////////////////////////////////////////////////
11
12
#ifndef TUKLIB_CPUCORES_H
13
#define TUKLIB_CPUCORES_H
14
15
#include "tuklib_common.h"
16
TUKLIB_DECLS_BEGIN
17
18
#define tuklib_cpucores TUKLIB_SYMBOL(tuklib_cpucores)
19
extern uint32_t tuklib_cpucores(void);
20
21
TUKLIB_DECLS_END
22
#endif
23
24