C# Communication between threads

后端 未结 6 527
情话喂你
情话喂你 2021-01-11 22:34

I am using .NET 3.5 and am trying to wrap my head around a problem (not being a supreme threading expert bear with me).

I have a windows service which has a very int

6条回答
  •  感情败类
    2021-01-11 23:25

    I would kill (but end gracefully if possible) the worker thread anyway. Everything gets garbage-collected, and you can start from scratch.

    How often does this server reboot happen? If it happens often enough for resources to be a problem, it's probably happening too often.

提交回复
热议问题