Relative Content

Tag Archive for c#taskbackground-process

Are Factory.Startnew tasks killed unwillingly in some cases?

I have a function that takes long to execute. So I had no choice but to run it in a separate thread. For that, I’ve been using Factory.Startnew() to create a background task. However, sometimes the task seems to be killed by something like a background handler.