본문 바로가기
C#

[C#] Task Option LongRunning

by 소리쿤 2023. 2. 27.

LongRunning을 사용하면 MaxThread 값인 2보다 많은 스레드가 생성된다.

https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.taskcreationoptions?view=net-7.0 

 

TaskCreationOptions Enum (System.Threading.Tasks)

Specifies flags that control optional behavior for the creation and execution of tasks.

learn.microsoft.com

 

'C#' 카테고리의 다른 글

[C#] 컴파일러 최적화로 인한 데드락 예제  (0) 2023.03.03
[C#] Thread Join 예제  (0) 2023.02.27
[C#] internal 한정자  (0) 2022.06.06
[C#] 레퍼런스 타입에 ref를 사용하는 경우가 있나?  (0) 2022.06.02
[C#] Indexer  (0) 2022.06.01