diff options
author | Rickard Green <[email protected]> | 2011-10-30 00:23:16 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2011-11-13 20:40:59 +0100 |
commit | 15774d2ac5ba38dba287309f91eb7e4f58b9a636 (patch) | |
tree | ff9f7f07f0d5c2b807c1614fb2f44b31f505d672 /erts/include/internal/ethread.h | |
parent | dcc7ecbf6af5420af2d5dbd0e97fc7a2e0e894a6 (diff) | |
download | otp-15774d2ac5ba38dba287309f91eb7e4f58b9a636.tar.gz otp-15774d2ac5ba38dba287309f91eb7e4f58b9a636.tar.bz2 otp-15774d2ac5ba38dba287309f91eb7e4f58b9a636.zip |
Use critical sections as mutex implementation on Windows
Windows native critical sections are now used internally in the
runtime system as mutex implementation. This since they perform
better under extreme contention than our own implementation.
Diffstat (limited to 'erts/include/internal/ethread.h')
-rw-r--r-- | erts/include/internal/ethread.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/erts/include/internal/ethread.h b/erts/include/internal/ethread.h index 8ad0ded144..142c26c0ca 100644 --- a/erts/include/internal/ethread.h +++ b/erts/include/internal/ethread.h @@ -191,7 +191,6 @@ typedef DWORD ethr_tsd_key; #undef ETHR_HAVE_ETHR_SIG_FUNCS #define ETHR_USE_OWN_RWMTX_IMPL__ -#define ETHR_USE_OWN_MTX_IMPL__ #define ETHR_YIELD() (Sleep(0), 0) |