diff options
author | Sverker Eriksson <[email protected]> | 2018-10-03 18:04:38 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-10-03 19:00:53 +0200 |
commit | d988f91307b2922de79f92d3b9aa160ac947b44c (patch) | |
tree | 4e38a0319158302b1847d0be474c8cb78e466eb7 /erts/emulator/beam/erl_lock_check.h | |
parent | b0fea529419514d9b173b84aae0f188f2e38c931 (diff) | |
download | otp-d988f91307b2922de79f92d3b9aa160ac947b44c.tar.gz otp-d988f91307b2922de79f92d3b9aa160ac947b44c.tar.bz2 otp-d988f91307b2922de79f92d3b9aa160ac947b44c.zip |
erts: Add lock order check of erl_db_catree base nodes
Lock order is key term order, so each base node needs its own key
if lock check is enabled.
Diffstat (limited to 'erts/emulator/beam/erl_lock_check.h')
-rw-r--r-- | erts/emulator/beam/erl_lock_check.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_lock_check.h b/erts/emulator/beam/erl_lock_check.h index 472e88ad65..965b73e27c 100644 --- a/erts/emulator/beam/erl_lock_check.h +++ b/erts/emulator/beam/erl_lock_check.h @@ -106,7 +106,7 @@ Eterm erts_lc_dump_graph(void); #define erts_lc_lock(lck) erts_lc_lock_x(lck,__FILE__,__LINE__) #define erts_lc_trylock(res,lck) erts_lc_trylock_x(res,lck,__FILE__,__LINE__) -#define erts_lc_lock_flg(lck) erts_lc_lock_flg_x(lck,__FILE__,__LINE__) -#define erts_lc_trylock_flg(res,lck) erts_lc_trylock_flg_x(res,lck,__FILE__,__LINE__) +#define erts_lc_lock_flg(lck,flg) erts_lc_lock_flg_x(lck,flg,__FILE__,__LINE__) +#define erts_lc_trylock_flg(res,lck,flg) erts_lc_trylock_flg_x(res,lck,flg,__FILE__,__LINE__) #endif /* #ifndef ERTS_LOCK_CHECK_H__ */ |