Skip to content

Launching a dotnet process with real time causes all the runtime threads to have same priority #77108

@deveshbahuguna

Description

@deveshbahuguna

Hi Folks,

We were migrating out WinCE based .net app to .NET 5 on linux. As WinCE was real-time OS the thread priorities used to have different behavior than regular windows or linux. Now when we launched our application with real time scheduling on then we had following observations:

  1. .NET timer, Finalizer etc all having priority equal to Process .eg say process priority is 60 then all these thread have priority 60 which i think is wrong as maximum value a thread can have is 56 priority (Highest for 1-99 priority range)
  2. Why are these dotnet-ust and timer threads spawned and what are their use?
  3. What should be the priority of runtime GC,Timer,dotnet-ust etc threads?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions