Thread Pool and .IsBackground in .NET

前端 未结 3 1904
慢半拍i
慢半拍i 2021-01-18 03:27

MSDN, as well as many other sources, claim that worker threads in the thread pool are always background.

"Thread pool threads are background threads

3条回答
  •  醉梦人生
    2021-01-18 04:02

    Yes, you can change them. But you should not.

    For the same reasons you don't repaint a borrowed car. Same for other thread properties like priority and MTA.

    If you want a different kind of thread, create your own.

提交回复
热议问题