Fix deadlock in reader optimized rwlock implementation
Fix deadlock in reader optimized rwlock implementation

A bug causing a deadlock in the reader optimized rwlock
implementation has been fixed. This bug appeared in
commit 59ee2a593090e7d53c97ceba63cbd300d1b9657e, i.e.,
it has not been seen in any released versions.

RJ/otp,dgud/otp,ferd/otp,dgud/otp,riverrun/otp,matwey/otp,getong/otp,NOMORECOFFEE/otp,bernardd/otp,vladdu/otp,emacsmirror/erlang,erlang/otp,aboroska/otp,schlagert/otp,gjaldon/otp,cnbin/otp,Teino1978-Corp/erlang-otp,lightcyphers/otp,klarna/otp,gjaldon/otp,getong/otp,jemsbhai/otp,RoadRunnr/otp,falkevik/otp,massemanet/otp,falkevik/otp,legoscia/otp,vic/otp,isvilen/otp,vic/otp,bugs-erlang-org/otp,bjorng/otp,goertzenator/otp,derek121/otp,g-andrade/otp,gjaldon/otp,enikki/otp,awetzel/otp,saleyn/otp,jinshana/otp,bugs-erlang-org/otp,isvilen/otp,RaimoNiskanen/otp,c-rack/otp,rlipscombe/otp,rlipscombe/otp,mikpe/otp,sdebnath/otp,GinjaNinja32/otp,benoitc/otp-1,tuncer/otp,electricimp/otp,riverrun/otp,legoscia/otp,jinshana/otp,cobusc/otp,lightcyphers/otp,getong/otp,saleyn/otp,jj1bdx/otp,benoitc/otp-1,sitexa/otp,bugs-erlang-org/otp,klarna/otp,dgud/otp,GinjaNinja32/otp,stolen/otp,mujiatong/otp,yangchengjian/otp,paulcager/otp,paulcager/otp,neeraj9/otp,johanclaesson/otp,RaimoNiskanen/otp,cobusc/otp,sdebnath/otp,emile/otp,klarna/otp,sitexa/otp,beni55/otp,c-rack/otp,jemsbhai/otp,vic/otp,neeraj9/otp,ader1990/otp,VincentHHL/otp,isvilen/otp,rlipscombe/otp,lightcyphers/otp,theom/otp,RGafiyatullin/otp,palas/otp,jinshana/otp,paulcager/otp,emacsmirror/erlang,bsmr-erlang/otp,mikpe/otp,RJ/otp,matwey/otp,GinjaNinja32/otp,johanclaesson/otp,emile/otp,matwey/otp,lhslll/otp,emile/otp,uabboli/otp,emacsmirror/erlang,jemsbhai/otp,ferd/otp,sitexa/otp,vic/otp,dgud/otp,derek121/otp,platinumthinker/otp,bernardd/otp,krishnakumar4a4/otp,schlagert/otp,msantos/otp,bernardd/otp,jamesruan/otp,release-project/otp,g-andrade/otp,paladim/otp,uabboli/otp,erlang/otp,Teino1978-Corp/otp,fenollp/otp,RichMorin/otp,lemenkov/otp,basho/otp,rlipscombe/otp,isvilen/otp,marquisthunder/otp,dumbbell/otp,marquisthunder/otp,klarna/otp,yangchengjian/otp,mikpe/otp,palas/otp,beni55/otp,emile/otp,g-andrade/otp,dumbbell/otp,jemsbhai/otp,vladdu/otp,jj1bdx/otp,awetzel/otp,electricimp/otp,ferd/otp,bsmr-erlang/otp,uabboli/otp,marquisthunder/otp,riverrun/otp,mikpe/otp,emacsmirror/erlang,bsmr-erlang/otp,emacsmirror/erlang,aboroska/otp,basho/otp,fenollp/otp,jamesruan/otp,aboroska/otp,goertzenator/otp,dumbbell/otp,bernardd/otp,isvilen/otp,hairyhum/otp,paladim/otp,vic/otp,saleyn/otp,bjorng/otp,schlagert/otp,RGafiyatullin/otp,lemenkov/otp,g-andrade/otp,lantti/otp,derek121/otp,bernardd/otp,matwey/otp,krishnakumar4a4/otp,jamesruan/otp,johanclaesson/otp,krishnakumar4a4/otp,jinshana/otp,vladdu/otp,kvakvs/otp,sammoth-wazoku/otp,yangchengjian/otp,beni55/otp,stolen/otp,legoscia/otp,yangchengjian/otp,massemanet/otp,basho/otp,jamesruan/otp,RoadRunnr/otp,schlagert/otp,jj1bdx/otp,RoadRunnr/otp,msantos/otp,lrascao/otp,saleyn/otp,Teino1978-Corp/otp,vinoski/otp,theom/otp,lhslll/otp,neeraj9/otp,release-project/otp,msantos/otp,c-rack/otp,jemsbhai/otp,legoscia/otp,ahmedshafeeq/otp,msantos/otp,cnbin/otp,gjaldon/otp,krishnakumar4a4/otp,sammoth-wazoku/otp,bjorng/otp,emacsmirror/erlang,potatosalad/otp,lantti/otp,theom/otp,awetzel/otp,vladdu/otp,dumbbell/otp,getong/otp,lucafavatella/otp,kvakvs/otp,cnbin/otp,dgud/otp,lantti/otp,jj1bdx/otp,sammoth-wazoku/otp,marquisthunder/otp,jinshana/otp,jj1bdx/otp,RaimoNiskanen/otp,sdebnath/otp,isvilen/otp,Teino1978-Corp/erlang-otp,getong/otp,sdebnath/otp,palas/otp,vinoski/otp,lrascao/otp,mikpe/otp,bsmr-erlang/otp,sitexa/otp,marquisthunder/otp,lightcyphers/otp,paladim/otp,riverrun/otp,krishnakumar4a4/otp,RaimoNiskanen/otp,stolen/otp,ader1990/otp,krishnakumar4a4/otp,RGafiyatullin/otp,VincentHHL/otp,aboroska/otp,getong/otp,potatosalad/otp,yangchengjian/otp,basho/otp,g-andrade/otp,bugs-erlang-org/otp,sitexa/otp,gjaldon/otp,cobusc/otp,dgud/otp,weisslj/otp,vinoski/otp,vladdu/otp,psyeugenic/otp,msantos/otp,VincentHHL/otp,sammoth-wazoku/otp,stolen/otp,weisslj/otp,ahmedshafeeq/otp,awetzel/otp,hairyhum/otp,basho/otp,legoscia/otp,emacsmirror/erlang,haguenau/otp,jj1bdx/otp,hairyhum/otp,emile/otp,release-project/otp,platinumthinker/otp,weisslj/otp,entropiae/otp,g-andrade/otp,bsmr-erlang/otp,rlipscombe/otp,benoitc/otp-1,Teino1978-Corp/otp,falkevik/otp,RaimoNiskanen/otp,mikpe/otp,gjaldon/otp,klarna/otp,falkevik/otp,getong/otp,bugs-erlang-org/otp,weisslj/otp,cnbin/otp,ferd/otp,lhslll/otp,entropiae/otp,rlipscombe/otp,GinjaNinja32/otp,RichMorin/otp,bjorng/otp,RGafiyatullin/otp,erlang/otp,beni55/otp,awetzel/otp,massemanet/otp,entropiae/otp,platinumthinker/otp,lrascao/otp,RaimoNiskanen/otp,vinoski/otp,bjorng/otp,legoscia/otp,hairyhum/otp,platinumthinker/otp,Teino1978-Corp/erlang-otp,mikpe/otp,benoitc/otp-1,ader1990/otp,c-rack/otp,awetzel/otp,RJ/otp,vladdu/otp,rlipscombe/otp,lianghaivv/otp,sdebnath/otp,g-andrade/otp,entropiae/otp,Teino1978-Corp/otp,johanclaesson/otp,lhslll/otp,msantos/otp,uabboli/otp,bjorng/otp,sitexa/otp,entropiae/otp,NOMORECOFFEE/otp,sdebnath/otp,mujiatong/otp,neeraj9/otp,legoscia/otp,bernardd/otp,psyeugenic/otp,lrascao/otp,goertzenator/otp,basho/otp,psyeugenic/otp,bjorng/otp,GinjaNinja32/otp,yangchengjian/otp,benoitc/otp-1,RichMorin/otp,VincentHHL/otp,Teino1978-Corp/erlang-otp,derek121/otp,paulcager/otp,marquisthunder/otp,RJ/otp,derek121/otp,RichMorin/otp,potatosalad/otp,vic/otp,entropiae/otp,derek121/otp,RJ/otp,saleyn/otp,RGafiyatullin/otp,bernardd/otp,mujiatong/otp,ader1990/otp,dgud/otp,riverrun/otp,tuncer/otp,bernardd/otp,lantti/otp,tuncer/otp,paulcager/otp,lucafavatella/otp,vladdu/otp,getong/otp,paulcager/otp,uabboli/otp,erlang/otp,emile/otp,NOMORECOFFEE/otp,kvakvs/otp,jj1bdx/otp,falkevik/otp,NOMORECOFFEE/otp,jinshana/otp,sitexa/otp,lantti/otp,release-project/otp,VincentHHL/otp,Teino1978-Corp/erlang-otp,lucafavatella/otp,ader1990/otp,c-rack/otp,theom/otp,vinoski/otp,dgud/otp,lemenkov/otp,fenollp/otp,c-rack/otp,GinjaNinja32/otp,neeraj9/otp,Teino1978-Corp/erlang-otp,RichMorin/otp,lianghaivv/otp,mujiatong/otp,cobusc/otp,falkevik/otp,theom/otp,massemanet/otp,fenollp/otp,jinshana/otp,psyeugenic/otp,jemsbhai/otp,matwey/otp,lrascao/otp,massemanet/otp,vladdu/otp,vic/otp,saleyn/otp,potatosalad/otp,fenollp/otp,hairyhum/otp,jamesruan/otp,platinumthinker/otp,emacsmirror/erlang,lucafavatella/otp,RGafiyatullin/otp,RJ/otp,weisslj/otp,kvakvs/otp,NOMORECOFFEE/otp,platinumthinker/otp,haguenau/otp,lhslll/otp,jamesruan/otp,emacsmirror/erlang,jemsbhai/otp,palas/otp,ferd/otp,krishnakumar4a4/otp,kvakvs/otp,bjorng/otp,fenollp/otp,dumbbell/otp,RJ/otp,RoadRunnr/otp,goertzenator/otp,massemanet/otp,enikki/otp,emacsmirror/erlang,lrascao/otp,riverrun/otp,VincentHHL/otp,sitexa/otp,benoitc/otp-1,theom/otp,release-project/otp,lianghaivv/otp,enikki/otp,haguenau/otp,g-andrade/otp,hairyhum/otp,matwey/otp,lianghaivv/otp,neeraj9/otp,lemenkov/otp,sammoth-wazoku/otp,enikki/otp,psyeugenic/otp,falkevik/otp,uabboli/otp,bsmr-erlang/otp,dumbbell/otp,kvakvs/otp,rlipscombe/otp,johanclaesson/otp,vic/otp,RichMorin/otp,kvakvs/otp,uabboli/otp,goertzenator/otp,enikki/otp,stolen/otp,electricimp/otp,vinoski/otp,isvilen/otp,palas/otp,electricimp/otp,bsmr-erlang/otp,tuncer/otp,paulcager/otp,release-project/otp,lhslll/otp,goertzenator/otp,cnbin/otp,msantos/otp,beni55/otp,klarna/otp,fenollp/otp,psyeugenic/otp,VincentHHL/otp,mujiatong/otp,lrascao/otp,jj1bdx/otp,lianghaivv/otp,enikki/otp,potatosalad/otp,beni55/otp,ferd/otp,Teino1978-Corp/otp,stolen/otp,cnbin/otp,hairyhum/otp,ader1990/otp,release-project/otp,massemanet/otp,RoadRunnr/otp,cnbin/otp,saleyn/otp,RichMorin/otp,electricimp/otp,Teino1978-Corp/otp,kvakvs/otp,cobusc/otp,gjaldon/otp,mikpe/otp,paladim/otp,stolen/otp,theom/otp,hairyhum/otp,RoadRunnr/otp,NOMORECOFFEE/otp,bugs-erlang-org/otp,schlagert/otp,saleyn/otp,riverrun/otp,tuncer/otp,neeraj9/otp,derek121/otp,haguenau/otp,palas/otp,Teino1978-Corp/otp,haguenau/otp,yangchengjian/otp,vladdu/otp,tuncer/otp,erlang/otp,lucafavatella/otp,tuncer/otp,paulcager/otp,potatosalad/otp,bjorng/otp,paladim/otp,riverrun/otp,sammoth-wazoku/otp,uabboli/otp,jemsbhai/otp,basho/otp,RJ/otp,johanclaesson/otp,jamesruan/otp,ferd/otp,weisslj/otp,klarna/otp,NOMORECOFFEE/otp,aboroska/otp,c-rack/otp,getong/otp,GinjaNinja32/otp,RGafiyatullin/otp,marquisthunder/otp,jj1bdx/otp,lantti/otp,awetzel/otp,RaimoNiskanen/otp,aboroska/otp,weisslj/otp,mujiatong/otp,schlagert/otp,vinoski/otp,erlang/otp,basho/otp,ahmedshafeeq/otp,matwey/otp,kvakvs/otp,dgud/otp,lemenkov/otp,potatosalad/otp,bsmr-erlang/otp,psyeugenic/otp,potatosalad/otp,sammoth-wazoku/otp,ahmedshafeeq/otp,cnbin/otp,dgud/otp,psyeugenic/otp,benoitc/otp-1,massemanet/otp,mikpe/otp,paladim/otp,lantti/otp,cobusc/otp,dumbbell/otp,entropiae/otp,dumbbell/otp,release-project/otp,haguenau/otp,lhslll/otp,beni55/otp,erlang/otp,potatosalad/otp,benoitc/otp-1,erlang/otp,palas/otp,rlipscombe/otp,RichMorin/otp,enikki/otp,matwey/otp,Teino1978-Corp/otp,fenollp/otp,uabboli/otp,dumbbell/otp,entropiae/otp,paladim/otp,lucafavatella/otp,lemenkov/otp,isvilen/otp,cobusc/otp,massemanet/otp,g-andrade/otp,VincentHHL/otp,platinumthinker/otp,marquisthunder/otp,neeraj9/otp,potatosalad/otp,erlang/otp,RoadRunnr/otp,krishnakumar4a4/otp,aboroska/otp,johanclaesson/otp,RoadRunnr/otp,mujiatong/otp,haguenau/otp,ahmedshafeeq/otp,saleyn/otp,isvilen/otp,electricimp/otp,mikpe/otp,Teino1978-Corp/erlang-otp,electricimp/otp,isvilen/otp,RGafiyatullin/otp,dumbbell/otp,lightcyphers/otp,schlagert/otp,johanclaesson/otp,emile/otp,ferd/otp,basho/otp,bsmr-erlang/otp,legoscia/otp,palas/otp,msantos/otp,ahmedshafeeq/otp,vinoski/otp,sammoth-wazoku/otp,ader1990/otp,erlang/otp,electricimp/otp,goertzenator/otp,release-project/otp,bjorng/otp,jj1bdx/otp,electricimp/otp,goertzenator/otp,c-rack/otp,ahmedshafeeq/otp,falkevik/otp,stolen/otp,awetzel/otp,ahmedshafeeq/otp,vinoski/otp,RaimoNiskanen/otp,aboroska/otp,enikki/otp,theom/otp,emile/otp,sdebnath/otp,lemenkov/otp,aboroska/otp,beni55/otp,bernardd/otp,cobusc/otp,lianghaivv/otp,lhslll/otp,matwey/otp,Teino1978-Corp/erlang-otp,schlagert/otp,bugs-erlang-org/otp,lucafavatella/otp,ader1990/otp,lemenkov/otp,GinjaNinja32/otp,sdebnath/otp,bugs-erlang-org/otp,NOMORECOFFEE/otp,lianghaivv/otp,paladim/otp,legoscia/otp,ferd/otp,emile/otp,getong/otp,falkevik/otp,platinumthinker/otp,tuncer/otp,lrascao/otp,klarna/otp,lianghaivv/otp,jinshana/otp,vinoski/otp,tuncer/otp,haguenau/otp,lrascao/otp,RoadRunnr/otp,lantti/otp,fenollp/otp,derek121/otp,rlipscombe/otp,weisslj/otp,goertzenator/otp,gjaldon/otp,lightcyphers/otp,yangchengjian/otp,ahmedshafeeq/otp,weisslj/otp,jamesruan/otp,lucafavatella/otp,mujiatong/otp,RaimoNiskanen/otp,lightcyphers/otp,lightcyphers/otp,g-andrade/otp