Long Running Blocking Methods. Difference between Blocking, Sleeping, Begin/End and Async
问题 This question is not about designs or patterns and which to use. The heart of this question is about what is happening regarding threads and blocking. This example is to apply to any blocking method that is designed to perform the same action continuously. In this case it is a blocking read or write on a networkstream. Is there any appreciable difference behind the scenes as to threading and performance between the methods? My assumption is that each of the methods below creates a thread or