aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2011-11-11 20:14:19 +0100
committerRickard Green <[email protected]>2011-11-11 20:14:19 +0100
commit71af43ff97689f8a4edc06dd323f1969b04573ae (patch)
treecc675bedbdd19fdb0f947781633363ac84d5d51f
parentb6dc1a844eab061d0a7153d46e7e68296f15a504 (diff)
downloadotp-71af43ff97689f8a4edc06dd323f1969b04573ae.tar.gz
otp-71af43ff97689f8a4edc06dd323f1969b04573ae.tar.bz2
otp-71af43ff97689f8a4edc06dd323f1969b04573ae.zip
Fix bad assertion in rwmtx implementation
-rw-r--r--erts/lib_src/common/ethr_mutex.c2
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__;