Invoke() is blocking

前端 未结 4 2325
慢半拍i
慢半拍i 2021-02-12 12:49

From time to time my applications GUI stops redrawing. There a lot of threads that are firing all kinds of events (like timers or network data ready etc.). Also there are a lot

4条回答
  •  無奈伤痛
    2021-02-12 13:23

    The most likely answer (deadlock) has already been suggested.

    Another way to simulate this behaviour is to reduce the number of pool threads and IO completion ports; you haven't called ThreadPool.SetMaxThreads(...) by any chance?

提交回复
热议问题