문제

I've been creating an asynchronous C# server and the server creates a single thread per client. However, I was told that with too many threads you could end up with deadlock.

So how might avoid deadlock with threads? How would I implement such a feature?

도움이 되었습니까?

해결책

It's actually a big topic, to be told here.

Read about it at Avoid And Detecting Deadlocks in C#

It is a MSDN link

The above link will likely help you

For code samples, click this link

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top