diff options
author | Rickard Green <[email protected]> | 2011-11-11 20:14:19 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2011-11-11 20:14:19 +0100 |
commit | 71af43ff97689f8a4edc06dd323f1969b04573ae (patch) | |
tree | cc675bedbdd19fdb0f947781633363ac84d5d51f /erts/lib_src/common | |
parent | b6dc1a844eab061d0a7153d46e7e68296f15a504 (diff) | |
download | otp-71af43ff97689f8a4edc06dd323f1969b04573ae.tar.gz otp-71af43ff97689f8a4edc06dd323f1969b04573ae.tar.bz2 otp-71af43ff97689f8a4edc06dd323f1969b04573ae.zip |
Fix bad assertion in rwmtx implementation
Diffstat (limited to 'erts/lib_src/common')
-rw-r--r-- | erts/lib_src/common/ethr_mutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/lib_src/common/ethr_mutex.c b/erts/lib_src/common/ethr_mutex.c index 2ddef32dfc..d1b9c96083 100644 --- a/erts/lib_src/common/ethr_mutex.c +++ b/erts/lib_src/common/ethr_mutex.c @@ -1968,7 +1968,7 @@ dbg_unlock_wake(ethr_rwmutex *rwmtx, exp = have_w ? ETHR_RWMTX_W_FLG__ : 0; if (rwmtx->type != ETHR_RWMUTEX_TYPE_NORMAL) - imask = ETHR_RWMTX_R_PEND_UNLCK_MASK__; + imask = ETHR_RWMTX_R_PEND_UNLCK_MASK__|ETHR_RWMTX_R_ABRT_UNLCK_FLG__; else { #ifdef ETHR_RLOCK_WITH_INC_DEC imask = ETHR_RWMTX_RS_MASK__; |