Skip to content

Commit fa7b533

Browse files
authored
Simplify fpconv_init by removing thread handling
1 parent 0301785 commit fa7b533

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

fpconv.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,10 @@
77
# define FPCONV_G_FMT_BUFSIZE 32
88

99
#ifdef USE_INTERNAL_FPCONV
10-
#ifdef MULTIPLE_THREADS
11-
#include "dtoa_config.h"
12-
#include <unistd.h>
13-
static inline void fpconv_init()
14-
{
15-
// Add one to try and avoid core id multiplier alignment
16-
set_max_dtoa_threads((sysconf(_SC_NPROCESSORS_CONF) + 1) * 3);
17-
}
18-
#else
1910
static inline void fpconv_init()
2011
{
2112
/* Do nothing - not required */
2213
}
23-
#endif
2414
#else
2515
extern void fpconv_init(void);
2616
#endif

0 commit comments

Comments
 (0)