Multi threading loop freezes ui
问题 I'm having trouble with mutli threading programming in my application. Actually, the code looks something like this: Private Delegate Sub IniciarDiscagemDelegate() Private Sub CallBack() 'do some stuff.... ThreadDiscagem = New Threading.Thread(AddressOf IniciarDiscagem) ThreadDiscagem.IsBackground = True ThreadDiscagem.Start() End Sub Private Sub IniciarDiscagem() If Me.InvokeRequired() Then Me.BeginInvoke(New IniciarDiscagemDelegate(AddressOf IniciarDiscagem)) Exit Sub End If Do While True