Limit configurable CPU count to the number of detected CPU cores.
This commit is contained in:
1 parent
dfabad37d9
commit
908b8ca0b3
3 files changed
+10
-4
No files matched your search
+2
-1
@@ -131,7 +131,8 @@ void wiegand_add_parity_swapped(uint8_t *target, uint8_t *source, uint8_t length
|
||||
uint32_t PackBits(uint8_t start, uint8_t len, const uint8_t *bits);
|
||||
uint64_t HornerScheme(uint64_t num, uint64_t divider, uint64_t factor);
|
||||
|
||||
int num_CPUs(void); // number of logical CPUs
|
||||
int num_CPUs(void);
|
||||
int detect_num_CPUs(void); // number of logical CPUs
|
||||
|
||||
void str_lower(char *s); // converts string to lower case
|
||||
void str_upper(char *s); // converts string to UPPER case
|
||||
|
||||
Reference in new issue
Block a user