G
Geert M
I use a ticker and every 5 minutes he fires of a new thread and does stuff.
Private Sub tmprocess_Tick(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles tmprocess.Tick
ProcessThread = New Threading.Thread(AddressOf Domysms)
ProcessThread.Start()
End Sub
The problem is that I only want to start a new thread if the previous thread
has ended. How can I do this?
Regards
Geert
Private Sub tmprocess_Tick(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles tmprocess.Tick
ProcessThread = New Threading.Thread(AddressOf Domysms)
ProcessThread.Start()
End Sub
The problem is that I only want to start a new thread if the previous thread
has ended. How can I do this?
Regards
Geert