Thread Priority
Thread class's ThreadPriority property is used to sets thread's priority. The thread priority can have Normal, AboveNormal, BelowNormal, Highest, and Lowest values.
thread.Priority = ThreadPriority.Lowest
Here's a simple example without priority and its output.
Imports System.Threading
Module Module1
Sub Main()
Dim th As New Thread(AddressOf WriteY)
th.Start()
For i As Integer = 0 To 10
Console.WriteLine("Hello")
Next
End Sub
Private Sub WriteY()
For i As Integer = 0 To 9
Console.WriteLine("world")
Next
End Sub
End Module
OUTPUT



Join the conversation! Your thoughts help the community grow.