Be seen. Boost your question’s priority for more expert views and faster solutions
Sub startthread()
threadJobPing = New Thread(New ThreadStart(AddressOf JobPing))
threadJobPing.Start()
Log("CORE: Loaded Checker thread. Testing...")
End Sub
Sub JobPing()
'log jobs pings to file
If threadJobPing.IsAlive = True Then
Log("Checker Thread Test Complete: Online")
End If
Do While smcCheckJobs = True
If smcIsConfigured = True Then
Log("Checking for available jobs...")
AvailableJobs()
CommandCheck()
Thread.Sleep(180)
Else
Log("SMC is not configured.")
End If
Loop
End Sub
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
From novice to tech pro — start learning today.
http://www.codeproject.com/KB/threads/ThreadCallBack.aspx