Change the RKPropertyInspector cache writeback to use dispatch_barrier_sync instead of _async.  Due to the change in #2095 this code is now much more likely to be called from an +initialize method, and the async call at that point is dangerous, potentially leading to deadlocks with ObjC runtime locks (see #2101).  Keeping everything on the same thread should avoid deadlock possibilities.  It may even be better anyways, as any object mapping with more than one property will immediately call back to get the attributes for the same class so it would be waiting anyways, and the async would just add potential thread context switches on top of a simple sync call.
Change the RKPropertyInspector cache writeback to use dispatch_barrier_sync instead of _async.  Due to the change in #2095 this code is now much more likely to be called from an +initialize method, and the async call at that point is dangerous, potentially leading to deadlocks with ObjC runtime locks (see #2101).  Keeping everything on the same thread should avoid deadlock possibilities.  It may even be better anyways, as any object mapping with more than one property will immediately call back to get the attributes for the same class so it would be waiting anyways, and the async would just add potential thread context switches on top of a simple sync call.

StasanTelnov/RestKit,zjh171/RestKit,wireitcollege/RestKit,hejunbinlan/RestKit,nphkh/RestKit,PonderProducts/RestKit,aleufms/RestKit,oye-lionel/GithubTest,HarrisLee/RestKit,dx285/RestKit,ChinaPicture/RestKit,fhchina/RestKit,fhchina/RestKit,RyanCodes/RestKit,sandyway/RestKit,mberube09/RestKit,CodewareTechnology/RestKit,cryptojuice/RestKit,Flutterbee/RestKit,Gaantz/RestKit,ppierson/RestKit,RestKit/RestKit,gauravstomar/RestKit,jonesgithub/RestKit,moneytree/RestKit,QLGu/RestKit,cfis/RestKit,aleufms/RestKit,common2015/RestKit,ForrestAlfred/RestKit,LiuShulong/RestKit,zilaiyedaren/RestKit,mumer92/RestKit,oye-lionel/GithubTest,zhenlove/RestKit,CodewareTechnology/RestKit,lucasecf/RestKit,oligriffiths/RestKit,hejunbinlan/RestKit,Meihualu/RestKit,lmirosevic/RestKit,cryptojuice/RestKit,apontador/RestKit,moneytree/RestKit,gauravstomar/RestKit,SuPair/RestKit,justinyaoqi/RestKit,Flutterbee/RestKit,SuPair/RestKit,jrtaal/RestKit,vilinskiy-playdayteam/RestKit,HarrisLee/RestKit,QLGu/RestKit,canaydogan/RestKit,QLGu/RestKit,adozenlines/RestKit,Flutterbee/RestKit,wireitcollege/RestKit,caamorales/RestKit,PonderProducts/RestKit,wireitcollege/RestKit,ChinaPicture/RestKit,wuxsoft/RestKit,erichedstrom/RestKit,hanangellove/RestKit,wuxsoft/RestKit,Juraldinio/RestKit,HarrisLee/RestKit,TheFarm/RestKit,erichedstrom/RestKit,samanalysis/RestKit,jonesgithub/RestKit,Livestream/RestKit,loverbabyz/RestKit,zjh171/RestKit,lucasecf/RestKit,dx285/RestKit,Livestream/RestKit,lmirosevic/RestKit,wireitcollege/RestKit,sachin-khard/NucleusRestKit,sachin-khard/NucRestKit,DejaMi/RestKit,Juraldinio/RestKit,jrtaal/RestKit,Bogon/RestKit,damiannz/RestKit,qingsong-xu/RestKit,gank0326/restkit,naqi/RestKit,timbodeit/RestKit,REXLabsInc/RestKit,coderChrisLee/RestKit,moneytree/RestKit,PonderProducts/RestKit,pbogdanv/RestKit,SuPair/RestKit,naqi/RestKit,wuxsoft/RestKit,Papercloud/RestKit,loverbabyz/RestKit,TheFarm/RestKit,caamorales/RestKit,hanangellove/RestKit,fedegasp/RestKit,caamorales/RestKit,oye-lionel/GithubTest,damiannz/RestKit,ipmobiletech/RestKit,sachin-khard/NucRestKit,nett55/RestKit,ChinaPicture/RestKit,nphkh/RestKit,lucasecf/RestKit,kevmeyer/RestKit,justinyaoqi/RestKit,ipmobiletech/RestKit,braindata/RestKit-1,Gaantz/RestKit,0x73/RestKit,vilinskiy-playdayteam/RestKit,pat2man/RestKit,CodewareTechnology/RestKit,gank0326/restkit,DejaMi/RestKit,cfis/RestKit,baumatron/RestKit,imton/RestKit,djz-code/RestKit,loverbabyz/RestKit,cryptojuice/RestKit,djz-code/RestKit,aleufms/RestKit,zhenlove/RestKit,justinyaoqi/RestKit,zilaiyedaren/RestKit,common2015/RestKit,youssman/RestKit,lucasecf/RestKit,aleufms/RestKit,RyanCodes/RestKit,loverbabyz/RestKit,djz-code/RestKit,samanalysis/RestKit,jrtaal/RestKit,nett55/RestKit,sachin-khard/NucRestKit,fedegasp/RestKit,DejaMi/RestKit,sachin-khard/NucleusRestKit,kevmeyer/RestKit,samanalysis/RestKit,vilinskiy-playdayteam/RestKit,coderChrisLee/RestKit,mumer92/RestKit,adozenlines/RestKit,cnbin/RestKit,vilinskiy-playdayteam/RestKit,ForrestAlfred/RestKit,pat2man/RestKit,Bogon/RestKit,0x73/RestKit,zjh171/RestKit,pat2man/RestKit,timbodeit/RestKit,apontador/RestKit,aleufms/RestKit,StasanTelnov/RestKit,cryptojuice/RestKit,money-alex2006hw/RestKit,youssman/RestKit,hanangellove/RestKit,nphkh/RestKit,timbodeit/RestKit,imton/RestKit,damiannz/RestKit,kevmeyer/RestKit,fhchina/RestKit,REXLabsInc/RestKit,moneytree/RestKit,0x73/RestKit,erichedstrom/RestKit,nett55/RestKit,sandyway/RestKit,youssman/RestKit,CodewareTechnology/RestKit,braindata/RestKit-1,ForrestAlfred/RestKit,HarrisLee/RestKit,QLGu/RestKit,pbogdanv/RestKit,imton/RestKit,Juraldinio/RestKit,wangjiangwen/RestKit,zilaiyedaren/RestKit,coderChrisLee/RestKit,0x73/RestKit,qingsong-xu/RestKit,baumatron/RestKit,zjh171/RestKit,gank0326/restkit,mavericksunny/RestKit,coderChrisLee/RestKit,Bogon/RestKit,SuPair/RestKit,RestKit/RestKit,hejunbinlan/RestKit,lmirosevic/RestKit,naqi/RestKit,ppierson/RestKit,timbodeit/RestKit,Flutterbee/RestKit,lmirosevic/RestKit,RestKit/RestKit,jonesgithub/RestKit,wuxsoft/RestKit,cnbin/RestKit,DejaMi/RestKit,zhenlove/RestKit,sandyway/RestKit,jonesgithub/RestKit,sachin-khard/NucleusRestKit,LiuShulong/RestKit,mberube09/RestKit,oligriffiths/RestKit,baumatron/RestKit,djz-code/RestKit,gauravstomar/RestKit,adozenlines/RestKit,dx285/RestKit,PonderProducts/RestKit,damiannz/RestKit,ppierson/RestKit,pbogdanv/RestKit,dx285/RestKit,cnbin/RestKit,pat2man/RestKit,ipmobiletech/RestKit,kevmeyer/RestKit,mumer92/RestKit,samanalysis/RestKit,sandyway/RestKit,REXLabsInc/RestKit,timbodeit/RestKit,fedegasp/RestKit,cfis/RestKit,dx285/RestKit,Gaantz/RestKit,StasanTelnov/RestKit,QLGu/RestKit,fhchina/RestKit,CodewareTechnology/RestKit,Livestream/RestKit,qingsong-xu/RestKit,gauravstomar/RestKit,ForrestAlfred/RestKit,jrtaal/RestKit,mavericksunny/RestKit,money-alex2006hw/RestKit,REXLabsInc/RestKit,samkrishna/RestKit,mberube09/RestKit,lucasecf/RestKit,hejunbinlan/RestKit,Papercloud/RestKit,goldstar/RestKit,apontador/RestKit,jrtaal/RestKit,money-alex2006hw/RestKit,hejunbinlan/RestKit,goldstar/RestKit,ForrestAlfred/RestKit,sachin-khard/NucleusRestKit,mumer92/RestKit,Papercloud/RestKit,Juraldinio/RestKit,pbogdanv/RestKit,samkrishna/RestKit,oye-lionel/GithubTest,damiannz/RestKit,Papercloud/RestKit,cnbin/RestKit,antondarki/RestKit,loverbabyz/RestKit,Meihualu/RestKit,cnbin/RestKit,apontador/RestKit,braindata/RestKit-1,mavericksunny/RestKit,imton/RestKit,fedegasp/RestKit,youssman/RestKit,nphkh/RestKit,zilaiyedaren/RestKit,zilaiyedaren/RestKit,sandyway/RestKit,Papercloud/RestKit,youssman/RestKit,RyanCodes/RestKit,HarrisLee/RestKit,Gaantz/RestKit,cryptojuice/RestKit,fhchina/RestKit,gank0326/restkit,mumer92/RestKit,money-alex2006hw/RestKit,zhenlove/RestKit,TheFarm/RestKit,zhenlove/RestKit,LiuShulong/RestKit,antondarki/RestKit,common2015/RestKit,goldstar/RestKit,apontador/RestKit,DejaMi/RestKit,wangjiangwen/RestKit,naqi/RestKit,gank0326/restkit,SuPair/RestKit,LiuShulong/RestKit,canaydogan/RestKit,hanangellove/RestKit,oligriffiths/RestKit,Bogon/RestKit,gauravstomar/RestKit,antondarki/RestKit,caamorales/RestKit,wangjiangwen/RestKit,Livestream/RestKit,justinyaoqi/RestKit,canaydogan/RestKit,moneytree/RestKit,canaydogan/RestKit,baumatron/RestKit,ChinaPicture/RestKit,imton/RestKit,Juraldinio/RestKit,baumatron/RestKit,ChinaPicture/RestKit,kevmeyer/RestKit,RyanCodes/RestKit,samkrishna/RestKit,Bogon/RestKit,Gaantz/RestKit,caamorales/RestKit,common2015/RestKit,oligriffiths/RestKit,qingsong-xu/RestKit,braindata/RestKit-1,hanangellove/RestKit,Meihualu/RestKit,goldstar/RestKit,coderChrisLee/RestKit,sachin-khard/NucleusRestKit,wuxsoft/RestKit,sachin-khard/NucRestKit,common2015/RestKit,pbogdanv/RestKit,antondarki/RestKit,oye-lionel/GithubTest,nett55/RestKit,wireitcollege/RestKit,money-alex2006hw/RestKit,ppierson/RestKit,ppierson/RestKit,justinyaoqi/RestKit,fedegasp/RestKit,sachin-khard/NucRestKit,Meihualu/RestKit,ipmobiletech/RestKit,oligriffiths/RestKit,mavericksunny/RestKit,adozenlines/RestKit,mberube09/RestKit,Meihualu/RestKit,adozenlines/RestKit,qingsong-xu/RestKit,wangjiangwen/RestKit,samanalysis/RestKit,jonesgithub/RestKit,canaydogan/RestKit,pat2man/RestKit,zjh171/RestKit,0x73/RestKit,LiuShulong/RestKit,lmirosevic/RestKit,wangjiangwen/RestKit,ipmobiletech/RestKit,braindata/RestKit-1,nett55/RestKit,antondarki/RestKit,RyanCodes/RestKit,nphkh/RestKit