Added autodetection of processor cores and used it as the default if an
invalid value is used for threads.
This commit is contained in:
Markus Makela
2015-10-31 07:36:22 +02:00
parent 112e21d507
commit 6810ed15dd
6 changed files with 35 additions and 5 deletions

View File

@ -88,4 +88,5 @@ int gw_getsockerrno(int fd);
int parse_bindconfig(char *, unsigned short, struct sockaddr_in *);
int setipaddress(struct in_addr *, char *);
char* get_libdir();
long get_processor_count();
#endif