diff options
author | Rickard Green <[email protected]> | 2010-08-17 19:43:08 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2010-08-30 11:59:30 +0200 |
commit | f45560001d8128193ed4933ab9dca1b105ae752a (patch) | |
tree | 0e115639c2a3202fd2f986d02847a8283f695988 /erts/include | |
parent | 1b273b618002d65159453fdfb9520a9476e4423a (diff) | |
download | otp-f45560001d8128193ed4933ab9dca1b105ae752a.tar.gz otp-f45560001d8128193ed4933ab9dca1b105ae752a.tar.bz2 otp-f45560001d8128193ed4933ab9dca1b105ae752a.zip |
Implement automatic detection of CPU topology on Windows
The CPU topology is now automatically detected on Windows
systems with less than 33 logical processors. The runtime system
will now, also on Windows, by default bind schedulers to logical
processors using the 'default_bind' bind type if the amount of
schedulers is at least equal to the amount of logical processors
configured, binding of schedulers is supported, and a CPU topology
is available at startup.
Diffstat (limited to 'erts/include')
-rw-r--r-- | erts/include/internal/erl_misc_utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/include/internal/erl_misc_utils.h b/erts/include/internal/erl_misc_utils.h index dda2cab5c6..507e1726f4 100644 --- a/erts/include/internal/erl_misc_utils.h +++ b/erts/include/internal/erl_misc_utils.h @@ -51,6 +51,7 @@ int erts_unbind_from_cpu_str(char *str); int erts_milli_sleep(long); #ifdef __WIN32__ +int erts_map_win_error_to_errno(DWORD win_error); int erts_get_last_win_errno(void); #endif |