Consistent definition of priority levels
Consistent definition of priority levels

In the specs and the documentation of the spawn_opt family of functions
there is the following definition of priority levels:

	Level = low | normal | high

However, the process_flag/1 function in that module reads:

  process_flag(Flag :: priority, Level) -> OldLevel

    Types:

	Level = OldLevel = priority_level()
	priority_level() = low | normal | high | max

This is clearly inconsistent. Change specs to use the process_level()
type declaration instead of re-defining it in various places.

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