Fixed deadlock in libev.
Fixed deadlock in libev.

Review: https://reviews.apache.org/r/37089

reneploetz/mesos,zmalik/mesos,dforsyth/mesos,yuquanshan/customizedMesos,gsantovena/mesos,Gilbert88/mesos,kaysoky/mesos,asamerh4/mesos,dforsyth/mesos,neilconway/mesos,neilconway/mesos,zmalik/mesos,asamerh4/mesos,abudnik/mesos,neilconway/mesos,Gilbert88/mesos,verizonlabs/mesos,dforsyth/mesos,yuquanshan/customizedMesos,craimbert/mesos,jpeach/mesos,kaysoky/mesos,verizonlabs/mesos,kaysoky/mesos,Aman-Jain-14/customizedMesos,zmalik/mesos,yuquanshan/customizedMesos,Gilbert88/mesos,Aman-Jain-14/customizedMesos,asamerh4/mesos,dforsyth/mesos,asamerh4/mesos,Aman-Jain-14/customizedMesos,verizonlabs/mesos,kaysoky/mesos,craimbert/mesos,neilconway/mesos,abudnik/mesos,abudnik/mesos,yuquanshan/customizedMesos,kaysoky/mesos,andschwa/mesos,yuquanshan/customizedMesos,reneploetz/mesos,andschwa/mesos,chhsia0/mesos,asamerh4/mesos,chhsia0/mesos,andschwa/mesos,jpeach/mesos,andschwa/mesos,asamerh4/mesos,dforsyth/mesos,reneploetz/mesos,verizonlabs/mesos,gsantovena/mesos,verizonlabs/mesos,chhsia0/mesos,reneploetz/mesos,reneploetz/mesos,Gilbert88/mesos,craimbert/mesos,verizonlabs/mesos,kaysoky/mesos,andschwa/mesos,andschwa/mesos,Aman-Jain-14/customizedMesos,neilconway/mesos,zmalik/mesos,verizonlabs/mesos,craimbert/mesos,zmalik/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,chhsia0/mesos,zmalik/mesos,gsantovena/mesos,reneploetz/mesos,kaysoky/mesos,abudnik/mesos,yuquanshan/customizedMesos,andschwa/mesos,chhsia0/mesos,craimbert/mesos,Aman-Jain-14/customizedMesos,jpeach/mesos,asamerh4/mesos,Aman-Jain-14/customizedMesos,neilconway/mesos,Gilbert88/mesos,zmalik/mesos,gsantovena/mesos,chhsia0/mesos,jpeach/mesos,jpeach/mesos,jpeach/mesos,abudnik/mesos,Gilbert88/mesos,yuquanshan/customizedMesos,abudnik/mesos,abudnik/mesos,reneploetz/mesos,jpeach/mesos,dforsyth/mesos,dforsyth/mesos,chhsia0/mesos,gsantovena/mesos,craimbert/mesos,gsantovena/mesos,gsantovena/mesos,Gilbert88/mesos,neilconway/mesos