ResourceHandleManager for curl disables global timers during select() call to avoid being interrupted by a process signal. It appears that original effort to fix the interruption ended up using also a loop in case 'select' returns with EINTR. Loop is the sufficient way to deal with interruptions (for example, see here: http://www.wlug.org.nz/EINTR). See bug 16071 for more info.
I'm removing setDeferringTimers() because nothing else uses it and I'm in the process of making TimerBase thread-aware for workers.
Created attachment 26811 [details]
Comment on attachment 26811 [details]
Landed in r39991, thanks for the cleanup. Please remember to follow up soon with a bug/patch that removes the unused code.