Will thread.join() block other clients also?

Posted by maxp on Stack Overflow See other posts from Stack Overflow or by maxp
Published on 2010-03-13T01:09:12Z Indexed on 2010/03/13 1:17 UTC
Read the original article Hit count: 330

Filed under:
|
|

In an asp.net web application, say everytime the user makes the request, and the page loads, a thread is fired off that uses thread.join() to block execution until it's finished.

Say this thread takes 10 seconds to complete.

Does this mean that if 5 totally seperate users make a request to this page, mere miliseconds after the last, does this mean the last user is going to wait 50 seconds to finish their request? Or is each client request threaded?

© Stack Overflow or respective owner

Related posts about c#

Related posts about threading