thinking back to volley, and now okhttp, Synchronize blocking web requests is all about creating an endless cycle and watching the timing jump out.
suddenly remembered that thread suspending seems to be possible, but the frameworks of these big factories use endless loops to block. I would like to ask, what are the obvious disadvantages / defects in terms of thread suspension?
all I can think of is that there is an extra time to control the awakening, and I don"t know how troublesome it is.